Last active
January 9, 2017 15:38
-
-
Save cruzer45/0a7d5ffd930db2dcb2b0 to your computer and use it in GitHub Desktop.
An install script to setup all the services I need for my grails applications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get dist-upgrade --yes && sudo apt-get install --yes python-software-properties software-properties-common;\ | |
sudo add-apt-repository ppa:webupd8team/java --yes && sudo add-apt-repository ppa:git-core/ppa --yes;\ | |
sudo apt-get update && sudo apt-get dist-upgrade --yes;\ | |
sudo apt-get install --yes git curl postgresql postgresql-contrib oracle-java7-installer nginx htop zip unzip weex;\ | |
curl -s http://get.sdkman.io | bash ; source ~/.sdkman/bin/sdkman-init.sh ; \ | |
mkdir -p ~/tomcat/; cd ~/tomcat/; wget http://www.us.apache.org/dist/tomcat/tomcat-7/v7.0.72/bin/apache-tomcat-7.0.72.tar.gz; tar -xvf apache-tomcat-7.0.72.tar.gz ; \ | |
cd apache-tomcat-7.0.72/webapps/ ; rm -rf ~/tomcat/apache-tomcat-7.0.72/webapps/* ;\ | |
ssh-keygen; cat ~/.ssh/id_rsa.pub;\ | |
mkdir -p ~/app/; cd ~/app/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment