brasilleech

install

Jun 1st, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #!/bin/bash
  2. apt-get update && apt-get upgrade -y
  3. apt-get install curl -y
  4. apt-get install apache2 -y
  5. apt-get install php5 libapache2-mod-php5 php5-mcrypt -y
  6. service apache2 restart
  7. apt-get install mysql-server php5-mysql -y
  8. mysql_install_db
  9. mysql_secure_installation
  10. apt-get install phpmyadmin -y
  11. php5enmod mcrypt
  12. service apache2 restart
  13. ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
  14. apt-get install libssh2-1-dev libssh2-php -y
  15. mysql -h localhost -u root -proot -e "CREATE DATABASE ssh"
  16. php -m |grep ssh2
  17. service apache2 restart
  18. cd /var/www/html
  19. wget https://www.dropbox.com/s/o2uvghk656qmg0w/painelssh.zip
  20. apt-get install unzip -y
  21. unzip painelssh.zip
  22. rm painelssh index.html
  23. clear
Add Comment
Please, Sign In to add comment