Skip to content

Instantly share code, notes, and snippets.

@dims
Last active June 18, 2019 09:07
Show Gist options
  • Select an option

  • Save dims/7ad86fb2ec12c91a4672 to your computer and use it in GitHub Desktop.

Select an option

Save dims/7ad86fb2ec12c91a4672 to your computer and use it in GitHub Desktop.

Start ZooKeeper

cd ~/zookeeper-3.4.8/
sudo bin/zkServer.sh start-foreground

Start Mesos Master

cd ~/mesos/build/
sudo ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos --zk=zk://10.0.3:2181/mesos --quorum=1

Start Mesos Slave

cd ~/mesos/build/
sudo ./bin/mesos-slave.sh --master=127.0.0.1:5050 --containerizers=docker,mesos --executor_registration_timeout=5mins

Start Marathon

cd ~/marathon/
sudo ./bin/start --master zk://10.0.0.3:2181/mesos --zk zk://localhost:2181/marathon

Deploy Example Marathon App

https://mesosphere.github.io/marathon/docs/application-basics.html

Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment