Last active
August 29, 2015 14:17
-
-
Save montyanderson/fe93d3646a8d36e640bf to your computer and use it in GitHub Desktop.
A bash script I run, whenever I reinstall the OS on my Raspberry Pi!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To run, enter the following: | |
# curl -sL https://gist.githubusercontent.com/montyanderson/fe93d3646a8d36e640bf/raw/rpi-setup.sh | sudo bash - | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y apache2 php5 php5-curl libapache2-mod-php5 git screen nodejs npm | |
sudo chown -hR www-data /var/www | |
sudo chmod -R 777 /var/www | |
echo "Please enter a new password for user 'pi'" | |
sudo passwd pi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment