You will need the following packages to run Mesos.
You need to have Java installed, or the JAVA_HOME environment variable pointing to a Java installation.
You can download the Mesos distribution from here. After that untar the downloaded file
Building and Installing
1 2 3 4 5 6 7
You can pass the –prefix option while configuring to tell where to install. For example , pass
__--prefix=/home/user/mesos__. By default the prefix is
Once you are done with the installation, it is now time to start your mesos cluster:
Go into the directory where you built Mesos.
Run the command to launch the master.
Take note of the IP and port that the master is running on, which will look something like [IP of the machine]:5050.
URL of master: mesos://[IP of the machine]:5050. View the master’s web UI at
http://[IP of the machine]:5050.
Copy mesos-0.13.0 and mesos to the same paths on all the nodes in the cluster. To launch a slave, go to below directory
Run the command to launch the slave.
The slave will show up on the mesos master’s web UI.
Copy the libmesos.so from prefix folder(/home/user/mesos/lib) of the mesos master to /usr/local/lib of the client machine and install the following package
Now you can run applications against the Mesos cluster from the client machine.