Skip to content

Instantly share code, notes, and snippets.

@zhimoe
Last active August 31, 2018 12:38
Show Gist options
  • Save zhimoe/bb70acc4f697a82e16d6ff5555247523 to your computer and use it in GitHub Desktop.
Save zhimoe/bb70acc4f697a82e16d6ff5555247523 to your computer and use it in GitHub Desktop.
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install oracle-java8-installer
sudo update-alternatives --config java
sudo vim /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/go/bin:/home/xiongdahu/app/scala-2.12.6/bin"
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
SCALA_HOME="/home/xiongdahu/app/scala-2.12.6"
M2_HOME="/usr/share/maven"
GOROOT="/usr/local/go"
GOPATH="/home/xiongdahu/code/go"
source /etc/environment
sudo apt install scala
sudo apt-get install git
tar xvf spark-2.0.2-bin-hadoop2.7.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment