Install REST

From xPL
Revision as of 18:43, 15 April 2015 by Fcorthay (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Controlling the home from distance is made via a web access.

Install a web server

Install the web server:

su
apt-get install lighttpd
apt-get install php5-cgi
lighttpd-enable-mod fastcgi
service lighttpd reload

Configure the base directory (modify the line with server.document-root):

nano /etc/lighttpd/lighttpd.conf
service lighttpd reload
cp /var/www/index.lighttpd.html /mnt/storage/www/

Navigate to your server within a web browser.