Advertisement
Guest User

Untitled

a guest
Apr 6th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. clear
  2. echo "##############################"
  3. echo "# _Allinone Install_ #"
  4. echo "##############################"
  5. echo "# _By:Kyle|Copyright@ 2013 #"
  6. echo "##############################"
  7. echo " "
  8. echo "You can start with enter!"
  9. echo "We will remove apache2 and install it again,"
  10. echo "After that we will install php5 and an mysql database"
  11. echo " "
  12. read -p "Press any key to start the installation!"
  13. clear
  14. echo "Removing old Apache2 "
  15. echo " "
  16. apt-get remove --purge apache2 apache2-utils
  17. echo " "
  18. echo "Installing apache2"
  19. echo " "
  20. apt-get install apache2
  21. echo " "
  22. read -p "Press any key to install now php5"
  23. clear
  24. echo "Installing Php5"
  25. aptitude install php5 libapache2-mod-php5
  26. echo " "
  27. echo "Succesfully installed php 5"
  28. echo " "
  29. read -p "Press any key to install MySql now "
  30. clear
  31. echo " "
  32. aptitude install mysql-server mysql-client
  33. echo " "
  34. echo "Installed Mysql Succesfully !"
  35. echo " "
  36. echo "Restarting apache2!"
  37. /etc/init.d/apache2 restart
  38. echo "Succesfully restarted<---"
  39. echo " "
  40. echo "Thank you for using allinone.sh!"
  41. echo "if everything worked then say thanks to kyle in forum.sa-mp.de!"
  42. echo " "
  43. 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