Download and install the latest stable Mesos binaries.
The RPM installation creates the directory /var/lib/mesos
that can be used as a work directory.
Start the Mesos master with the following command:
$ mesos-master --work_dir=/var/lib/mesos
On a different terminal, start the Mesos agent, and associate it with the Mesos master started above:
$ mesos-agent --work_dir=/var/lib/mesos --master=127.0.0.1:5050
This is the simplest way to try out Mesos after downloading the RPM. For more complex and production setup instructions refer to the Administration section of the docs.