Some notes on installation of mesos daemons on a single machine for testing purpose only.
Environnement
OS : Debian 6.0.6 x64
Download
Dependencies
Install the Debian dependencies, as root:
Installation
Prepare the mesos installation, as root:
Then install mesos, as root :
###Configuration (standalone)
See the official configuration page here for further details.
Set the hostname ‘localhost’ in the file masters:
Set the hostname ‘localhost’ in the file slaves:
Edit mesos.conf and set the following parameters:
Create the log folder :
Create and SSH key for root on the master without password:
Distribute the key on localhost (standalone mode):
WARNING : this SSH configuration is for testing environnement ONLY, please ensure a proper key and user management on each node.
##Run mesos
Start the cluster as root:
Network status, as root :
Catch the log of the master and slave daemons with this command as root:
###Mesos UI
Mesos listening to port 5050 for job orchestration AND web ui, check the cluster status from web ui on http://localhost:5050. An overview of this standalone configuration in the UI :
###Test mesos framework
Several examples are available in the distribution: