Make sure you should install JAVA before proceeding Spark installation because it’s mandatory to run Spark.
# Checking JAVA Version # $ java -version java version "1.7.0_95" OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.1) OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) # Download Spark Archive file # $ sudo wget http://download.igniterealtime.org/spark/spark_2_7_6.tar.gz # Extract Spark Archive file # $ sudo tar -zxvf spark_2_7_6.tar.gz $ sudo mkdir /opt/spark $ sudo mv Spark/.[!.]* /opt/spark/ # Download Spark Icon # $ sudo wget https://dl.dropbox.com/u/50880014/spark.png $ sudo mv spark.png /opt/spark/ # Prerequiest library # $ sudo apt-get install libxtst6:i386 libxi6:i386 # if you want to create a Ubuntu Unity Desktop Launcher, create a desktop launcher file with $ sudo gedit /usr/share/applications/spark.desktop # Then add the following information and save : [Desktop Entry] Name=Spark Version=2.6.3 GenericName=Spark X-GNOME-FullName=Spark Comment=ignite realtime Spark IM client Type=Application Categories=Application;Utility; Path=/opt/spark Exec=/bin/bash Spark Terminal=false StartupNotify=true Icon=/opt/spark/spark.png TargetEnvironment=Unity
You will then be able to search for Spark in you unity dash and launch Spark.
Finally log in with a valid Spark user and enter the server details.
Leave a comment