Tutorial: http://dblab.xmu.edu.cn/blog/1307-2/
Download: http://spark.apache.org/downloads.html
Click to download, select a link out of web page
Once downloaded, unzip it to the selected folder (mine is / usr / local)
Rename and set permissions
Modify the configuration file spark-env.sh
cd /usr/local/spark
cp ./conf/spark-env.sh.template ./conf/spark-env.sh
Run spark comes example, to detect whether the installation is successful