Where is the web server root directory on Angstrom Linux (BeagleBoard | BeagleBone)?

ow3n picture ow3n · May 30, 2012 · Viewed 8.6k times · Source

I'm trying to find the default web server directory on my BeagleBone with Angstrom Linux. That is, where are the files served when I go to:

http://beaglebone.local:80

Another way would be to answer this question: How do I find out what directory a port number points to on my BeagleBone with Angstrom Linux?

Answer

ow3n picture ow3n · May 31, 2012

The BeagleBone|BeagleBoard Angstrom Linux distribution ships with a socket server that runs as a service using node.js and bonescript in:

/var/lib/cloud9/bonescript/

and can be accessed at: http://beaglebone.local:80

You can also install lighttpd with

opkg install lighttpd

and will install a config file into

/etc/lighttpd.conf

which can be altered to set the default web directory wherever you like.