Zum Inhalt springen

Webserver für Raspbarry Pi

Aus Computech CMS Wiki
 http://www.penguintutor.com/linux/light-webserver
 sudo apt-get install lighttpd

Install MySQL Server

 sudo apt-get install mysql-server

Install PHP Server

 sudo apt-get install php5-common php5-cgi php5

Verzeichnis Setzen

Change the directory owner and group

 sudo chown www-data:www-data /var/www

allow the group to write to the directory

 sudo chmod 775 /var/www

Add the pi user to the www-data group

 sudo usermod -a -G www-data pi