Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear
- echo "##############################"
- echo "# _Allinone Install_ #"
- echo "##############################"
- echo "# _By:Kyle|Copyright@ 2013 #"
- echo "##############################"
- echo " "
- echo "You can start with enter!"
- echo "We will remove apache2 and install it again,"
- echo "After that we will install php5 and an mysql database"
- echo " "
- read -p "Press any key to start the installation!"
- clear
- echo "Removing old Apache2 "
- echo " "
- apt-get remove --purge apache2 apache2-utils
- echo " "
- echo "Installing apache2"
- echo " "
- apt-get install apache2
- echo " "
- read -p "Press any key to install now php5"
- clear
- echo "Installing Php5"
- aptitude install php5 libapache2-mod-php5
- echo " "
- echo "Succesfully installed php 5"
- echo " "
- read -p "Press any key to install MySql now "
- clear
- echo " "
- aptitude install mysql-server mysql-client
- echo " "
- echo "Installed Mysql Succesfully !"
- echo " "
- echo "Restarting apache2!"
- /etc/init.d/apache2 restart
- echo "Succesfully restarted<---"
- echo " "
- echo "Thank you for using allinone.sh!"
- echo "if everything worked then say thanks to kyle in forum.sa-mp.de!"
- echo " "
- read -p "Say thank you to kyle in forum.sa-mp.de if everything worked out fine!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement