Skip to content

Instantly share code, notes, and snippets.

@ahpeng
ahpeng / install-mesos-dns.sh
Created October 18, 2016 01:17 — forked from fdeantoni/install-mesos-dns.sh
Scritps to install Mesos, Marathon, and Mesos DNS on Ubuntu 14.04 Server. The script install-mesos-master.sh and install-mesos-dns.sh are run on the master nodes. The scripts install-mesos-slave.sh and install-mesos-docker.sh are run on the slave nodes.
#!/bin/bash
set -e
# Parametes
ZK_M1=10.10.25.10
ZK_M2=10.10.25.11
ZK_M3=10.10.25.12
ZK_CLUSTER="zk://$ZK_M1:2181,$ZK_M2:2181,$ZK_M3:2181"
# Download mesos dns
wget https://github.com/mesosphere/mesos-dns/releases/download/v0.5.2/mesos-dns-v0.5.2-linux-amd64
chmod +x mesos-dns-v0.5.2-linux-amd64