Last active
March 30, 2019 07:57
-
-
Save yanhsiah/f4984c31ecbc23617be30df4709cb88d to your computer and use it in GitHub Desktop.
etl-instance setup script
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
#!/bin/bash | |
wget https://gist.githubusercontent.com/yanhsiah/bd1c59d06f9daf149480182f85d117dd/raw/058cdd4c3511bbd83b1b2368edddc152f2c15c79/.tmux.conf; | |
sudo apt update; sudo apt install -y default-jre default-jdk openjdk-8-jdk maven; | |
sudo add-apt-repository ppa:webupd8team/java; sudo apt-get install -y oracle-java8-installer oracle-java8-set-default; | |
echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" >> ~/.bash_profile; | |
echo "JRE_HOME=/usr/lib/jvm/java-8-oracle/jre" >> ~/.bash_profile; | |
. ~/.bash_profile; | |
gcloud init; gcloud auth application-default login; | |
git clone https://github.com/GoogleCloudPlatform/cloud-bigtable-examples.git; | |
git clone https://github.com/CloudComputingTeamProject/CaptainMAL-S19.git; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment