Webserver für Raspbarry Pi: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 2: | Zeile 2: | ||
sudo apt-get install lighttpd | 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/wwwallow 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 | |||
Version vom 25. Januar 2014, 15:12 Uhr
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/wwwallow 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