Skip to content

Instantly share code, notes, and snippets.

@haosdent
Last active December 22, 2016 06:15
Show Gist options
  • Save haosdent/7e4d5b7b56e23e503de154de503a95d5 to your computer and use it in GitHub Desktop.
Save haosdent/7e4d5b7b56e23e503de154de503a95d5 to your computer and use it in GitHub Desktop.
marathon_install.sh
#!/bin/sh
set -e
do_install() {
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
sudo apt-get install -y oracle-java8-installer oracle-java8-set-default marathon
}
do_install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment