Last active
August 31, 2018 12:38
-
-
Save zhimoe/bb70acc4f697a82e16d6ff5555247523 to your computer and use it in GitHub Desktop.
This file contains 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 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