Skip to content

Instantly share code, notes, and snippets.

@mohataher
Created April 5, 2016 15:49
Show Gist options
  • Save mohataher/4ff248435b5821d4769dbe3f1472c275 to your computer and use it in GitHub Desktop.
Save mohataher/4ff248435b5821d4769dbe3f1472c275 to your computer and use it in GitHub Desktop.
Set up a new Ubuntu instance on EC2
#!/bin/sh
# install oracle 8
# source: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
# install maven and git
sudo apt-get install git maven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment