Last active
December 10, 2015 10:58
-
-
Save rastaman/62287e176131d71d44cd to your computer and use it in GitHub Desktop.
A script to install mesos and start mesos-slave on a ARM C1 node from cloud.online.net . Packaged and tested on the Docker instant app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get install -y libsvn-dev wget | |
| wget http://www.effervens.com/experimental/mesos/mesos_0.22.0_armhf.deb | |
| dpkg -i ./mesos_0.22.0_armhf.deb | |
| echo /opt/mesos/lib > /etc/ld.so.conf.d/mesos.conf | |
| ldconfig | |
| export MESOS_master=zk://ZK1:2181,ZK2:2181,ZK3:2181/mesos | |
| # Other options you're likely to want to set: | |
| export MESOS_log_dir=/var/log/mesos | |
| export MESOS_work_dir=/var/run/mesos | |
| export MESOS_isolation=cgroups | |
| export HOST_IP=$(/sbin/ifconfig eth0 | awk '/inet /{print $2}' | sed -e 's/addr://') | |
| /opt/mesos/sbin/mesos-slave --ip=$HOST_IP --containerizers=docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment