Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1.  
  2. apt-get update
  3. apt-get upgrade
  4.  
  5. //UTILS
  6.  
  7. apt-get install sudo
  8. apt-get install curl
  9. apt-get install htop
  10. apt-get install nload
  11. apt-get install screen
  12. apt-get install sshpass
  13. apt-get install sysstat
  14. apt-get install apt-transport-https
  15.  
  16. //BASH_COMPLETION
  17. nano /etc/bash.bashrc
  18. -> Comment out after "# enable bash completion in interactive shells"
  19. reboot
  20.  
  21. //JAVA
  22.  
  23. echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list
  24. apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
  25. apt-get update && apt-get install oracle-java8-installer
  26. java -version
  27.  
  28. //APACHE2
  29.  
  30. apt-get install apache2 php5 libapache2-mod-php5
  31. a2enmod rewrite
  32. service apache2 restart
  33. apt-get install mysql-client php5-mysql
  34. service apache2 restart
  35.  
  36. //SSL
  37.  
  38. echo "deb http://ftp.debian.org/debian jessie-backports main" | tee -a /etc/apt/sources.list
  39. apt-get update
  40. apt-get install python-certbot-apache -t jessie-backports
  41. certbot --apache
  42.  
  43. # renew with "certbot renew"
  44.  
  45. //MySQL
  46. apt-get install mysql-server
  47.  
  48. //PhpMyAdmin
  49. apt-get install phpmyadmin
  50. echo Include /etc/phpmyadmin/apache.conf >> /etc/apache2/apache2.conf
  51. service apache2 restart
  52.  
  53. //DATASTAX ENTERPRISE
  54. echo "deb https://dsa_email_address:password@debian.datastax.com/enterprise stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.sources.list
  55. curl -L https://debian.datastax.com/debian/repo_key | sudo apt-key add -
  56. apt-get update
  57. apt-get install dse-full
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement