Difference between revisions of "Install REST"
From xPL
(Created page with "Controlling the home from distance is made via a web access. = Install a web server = Install the [http://www.lighttpd.net web server]: su apt-get install lighttpd apt-ge...") |
(→Install a web server) |
||
Line 5: | Line 5: | ||
Install the [http://www.lighttpd.net web server]: | Install the [http://www.lighttpd.net web server]: | ||
su | su | ||
+ | apt-get update | ||
apt-get install lighttpd | apt-get install lighttpd | ||
apt-get install php5-cgi | apt-get install php5-cgi | ||
− | lighttpd-enable-mod fastcgi | + | lighttpd-enable-mod fastcgi fastcgi-php |
service lighttpd reload | service lighttpd reload | ||
+ | service lighttpd status | ||
Configure the base directory (modify the line with <code>server.document-root</code>): | Configure the base directory (modify the line with <code>server.document-root</code>): |
Revision as of 19:00, 15 April 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.