DevOps
mesos
Aug 12, 2018     2 minutes read

1. What is Mesos and why would you use it?

4. Installation

Just follow one of these instructions:

Pick the one you like the most. Each of them presents a pretty much the same way of installation.

You can also install Mesos from source (which I did and I recommend it, even though it lasts, well, forever):

5. Hello world

Starting Mesos

Starting Mesos may be a little bit tricky, as the tutorials in the links above did not work for me. I had to figure it out by myself… The solution is based on based on one of the tutorials mentioned above:

(You may be asked for your password)

#start master
./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/tmp/mesos
#start slave
./bin/mesos-slave.sh --master=127.0.0.1:5050 --work_dir=/tmp/mesos

or

mesos-master --ip=127.0.0.1 --work_dir=/tmp/mesos
mesos-slave --master=127.0.0.1:5050 --work_dir=/tmp/mesos

GUI

Great, now you are able to open mesos UI at 127.0.0.1:5050.

Easily forgettable solutions

Here is a list of commands that I always forget when using Mesos:

Well, I don’t use Mesos. Let the DevOps or SysAdmins take care of it. It’s enough if you know what it is and what it’s capable of.