Class04 Answer:

On Linux install Apache Spark.

To install Apache Spark, I used the syntax below to download a file:

cd ~/Downloads/
rm -f spark-2.2.1-bin-hadoop2.7.tgz

After the download, I ran some shell commands:

cd ~
rm -rf spark spark-2.2.1-bin-hadoop2.7
tar xf ~/Downloads/spark-2.2.1-bin-hadoop2.7.tgz
ln -s spark-2.2.1-bin-hadoop2.7 spark
echo 'export PATH=${HOME}/spark/bin:$PATH' >> ~/.bashrc

Class04 Lab About Blog Contact Class01 Class02 Class03 Class04 Class05 Class06 Class07 Class08 Class09 Class10 dan101 Forum Google Hangout Vboxen