Skip to content

Instantly share code, notes, and snippets.

@clerie
Last active September 18, 2017 16:22
Show Gist options
  • Save clerie/3677be784108ab93ae21fadd8ab21082 to your computer and use it in GitHub Desktop.
Save clerie/3677be784108ab93ae21fadd8ab21082 to your computer and use it in GitHub Desktop.
Install Webserver with PHP and MySQL easy
# Insatall Webserver on Raspbian
sudo apt-get update
sudo apt-get install apache2 -y
sudo apt-get install php5 libapache2-mod-php5 -y
sudo apt-get install mysql-server php5-mysql -y
sudo service apache2 restart
ln -s /var/www/html/ /home/pi/html
sudo chmod a+rwx /var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment