Advertisement
ajthemacboy

Downsurge

Aug 1st, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. # login and type "su"
  2.  
  3. apt-get update
  4. apt-get install htop screen vim
  5.  
  6. # java
  7. wget http://cdn.azul.com/zulu/bin/zulu8.15.0.1-jdk8.0.92-linux_amd64.deb -O zulu.deb
  8. dpkg -i zulu.deb
  9.  
  10. # LAMP
  11. apt-get install apache2
  12. apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
  13. mysql_install_db
  14. /usr/bin/mysql_secure_installation
  15.  
  16. apt-get install php5 libapache2-mod-php5 php5-mcrypt
  17.  
  18. # index.php
  19. nano /etc/apache2/mods-enabled/dir.conf
  20.  
  21. # add index.php to beginning:
  22. <IfModule mod_dir.c>
  23.  
  24. DirectoryIndex index.php index.html index.cgi index.pl index.php index.xhtml index.htm
  25.  
  26. </IfModule>
  27.  
  28. # install modules you want, I don't know what we might need
  29. apt-cache search php5-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement