install package

$ 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

open firewall

$ 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


  • check your marathon on [PUBLIC IP]:8080/ui/#/apps