Difference between revisions of "Install REST"

From xPL
Jump to: navigation, search
(Install a web server)
Line 19: Line 19:
 
Navigate to your server within a web browser.
 
Navigate to your server within a web browser.
  
[[Category: install]] [[Category: web]]
+
[[Category: all]] [[Category: install]] [[Category: web]]

Revision as of 09:22, 25 May 2015

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.