Skip to content

Instantly share code, notes, and snippets.

@ikegami-yukino
Created June 25, 2015 10:41
Show Gist options
  • Select an option

  • Save ikegami-yukino/0b5302e51211d2de0682 to your computer and use it in GitHub Desktop.

Select an option

Save ikegami-yukino/0b5302e51211d2de0682 to your computer and use it in GitHub Desktop.
Install Scala 2.11.7 and Spark 1.4.0 with Hadoop 2.6 to Ubuntu 14.04
wget http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz
sudo mkdir /usr/local/scala
sudo tar xvf scala-*.tgz -C /usr/local/scala
echo "export SCALA_HOME=/usr/local/scala/scala-2.11.7" >> ./bashrc
echo "export PATH=$SCALA_HOME/bin:$PATH" >> ./bashrc
wget ftp://ftp.kddilabs.jp/infosystems/apache/spark/spark-1.4.0/spark-1.4.0-bin-hadoop2.6.tgz
tar xf spark-1.4.0-bin-hadoop2.6.tgz
sudo mv spark-1.4.0-bin-hadoop2.6 /usr/local/spark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment