Install the latest Mesos on CentOS 7.x

Prerequisites: CentOS 7.x minimal install (tested on 7.2) + docker

Setup: single node (all-in-one), Mesosphere repo

— DEPRECATED (will not work, repo broken) —

yum install http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
 
yum install docker mesosphere-zookeeper mesos marathon chronos  -y
 
echo 'docker,mesos' > /etc/mesos-slave/containerizers
 
for SERVICES in docker zookeeper mesos-master mesos-slave marathon chronos; do
    systemctl enable $SERVICES
    systemctl restart $SERVICES
done
 
firewall-cmd --permanent --zone=public --add-port=5050/tcp # mesos-master
firewall-cmd --permanent --zone=public --add-port=5051/tcp # mesos-slave
firewall-cmd --permanent --zone=public --add-port=8080/tcp # marathon
firewall-cmd --permanent --zone=public --add-port=4400/tcp # chronos
firewall-cmd --reload

And then browse to http://IP_ADDRESS:8080/

mesos_marathon

Leave a Reply

Your email address will not be published. Required fields are marked *