Install REST

From xPL
Revision as of 08:22, 25 May 2015 by Fcorthay (Talk | contribs)

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 update
apt-get install lighttpd
apt-get install php5-cgi
lighttpd-enable-mod fastcgi fastcgi-php
service lighttpd reload
service lighttpd status

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.