Cluster Manager · Mesos

Setting up Apache Mesos Cluster using 2 machines – Ubuntu 14.04

The following article will help us installing Apache Mesos on a 2 machine setup. The setup consists of a Master and a slave. Let us start the installation on a plain vannila Ubuntu 14.04 server.

Initially let us fulfill the per-requisites of Apache Mesos by upgrading the packages and installing Open-JDK, autoconf and libtool.

apt-get update && apt-get upgrade
apt-get install -y openjdk-7-jdk
apt-get install -y autoconf libtool

The following configurations are to be done on both machines:

We would need to download the Mesos files available in compressed format.


Now let us extract the file onto a folder

tar -xzvf mesos-0.22.1.tar.gz

Let us compile the packages by performing the following steps.

cd mesos-0.22.1
mkdir build
cd build

Once these steps are performed, we can start the service on the Master.

./bin/ --ip= --work_dir=/var/lib/mesos

Then we can start the service on the Slave and point the master, in the following command.

./bin/ --master=

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s