[RESOLVED] Hosting an HTML webpage on the Yun


hello all, , regards,

i attempting build system in webpage hosted by linino side of yun, , accessible browser on local network, and/or password. have built website can communicate yunserver through rest, know how host website on linino side of yun? have opened html doc local computer. there way maintain website accessible local network?

i can ssh linino through putty, , building website scratch, learning go.

apologies if way i'm saying wrong or confusing, checking responses.
also new tech world, , arduino yun cool daunting.
forgive me if have no idea i'm talking about.

thank in advance!

kiobod

edit: else interested, there's great resource available at: http://scuola.arduino.cc/courses/lessons/view/b4eorkv

i understand how process works now. next hurdle getting past 'access denied' occurs both when attempt ssh, , when upload via arduino ide. there has been discussion issue before in forums, @
http://forum.arduino.cc/index.php?topic=194460.0

however, terminal not recognize ln -s command, still working issue.
any further input appreciated, past input extremely helpful, obliged.

kiobod

edit 2: webpage , running, , accessible computer on network - again helped.

the problem files /mnt/sda1/arduino , /mnt/sda1/arduino/www not created - had assumed there created update. other issue previous users had fixed problem using ln -s /mnt/sda1/www/sd. don't know how resolved way, didn't resolve issue.

what fixed problem , allowed yun host webpage, creation of /arduino , /arduino/www files in sd card, using    ln -s /mnt/sda1/arduino/www     from ssh terminal.

unfortunately, javascript rest commands broken, , arduino keeps asking me credentials in order things. don't know why that's happening, i'm sure can figure out other threads.

please send me message, or post thread if there's might able with!


final edit:
the above turned out temporary fix problem. ensure sd card held new os, turned out easier use usb port alternative storage, , create /arduino/www files there.
also beware, once write document www, cannot overwrite file of same name. in order update file must manually delete it, , re-write updated file.

there various examples can find on way.
basically, webpages accessed micro sd card. format one, preferably update, using processes described in reference pages etc.
the card requires folder called 'arduino',  within resides 'www' folder. these must created. arduino folder contains sketch, www folder contains files pertaining site. html, js, css etc.

you can either write directly onto card, or use development program transfer these files. work folder on pc must contain www subdirectory relevant files in. uploading via wifi transfer files card.
access site ip add+ / sd /www/.








Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > [RESOLVED] Hosting an HTML webpage on the Yun


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support