Last active
August 29, 2015 13:59
-
-
Save saxenap/10742693 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
############################################### | |
# To use: | |
# wget https://gist.githubusercontent.com/saxenap/10742693/raw | |
# sudo cp raw setup | |
# sudo rm raw | |
# chmod 777 setup | |
# ./setup | |
############################################### | |
echo "*****************************************" | |
echo " 1. Download and Install PHP + Apache, Create Directories" | |
echo "*****************************************" | |
sudo wget https://gist.githubusercontent.com/saxenap/10701529/raw | |
sudo chmod 777 raw | |
sudo ./raw | |
sudo rm raw | |
echo "*****************************************" | |
echo "*****************************************" | |
echo " 2. Httpd Rewrites + Security" | |
echo "*****************************************" | |
sudo wget https://gist.githubusercontent.com/saxenap/10741490/raw | |
sudo chmod 777 raw | |
sudo ./raw | |
sudo rm raw | |
echo "*****************************************" | |
echo "*****************************************" | |
echo " 3. PHP Installations" | |
echo "*****************************************" | |
sudo wget https://gist.githubusercontent.com/saxenap/10741794/raw | |
sudo chmod 777 raw | |
sudo ./raw | |
sudo rm raw | |
echo "*****************************************" | |
echo "*****************************************" | |
echo " 4. Php.ini Configurations" | |
echo "*****************************************" | |
sudo wget https://gist.githubusercontent.com/saxenap/10738762/raw | |
sudo chmod 777 raw | |
sudo ./raw | |
sudo rm raw | |
echo "*****************************************" | |
echo "*****************************************" | |
echo " 5. Restart Apache Server" | |
echo "*****************************************" | |
sudo service httpd restart | |
echo "*****************************************" | |
echo "*****************************************" | |
echo " Installation Complete!" | |
echo "*****************************************" | |
echo "*****************************************" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment