Last active
January 4, 2016 15:49
-
-
Save sou/8643201 to your computer and use it in GitHub Desktop.
setting mesos-docker cluster node
This file contains 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
#!/bin/sh | |
# ubuntu up to date | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get dist-upgrade | |
# remove old kernels | |
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge | |
# install mesos deb and it's dependencies | |
curl https://gist.github.com/sou/8574175/raw/5ffaaee23a97330a7198c3e612cd13ad708de825/install_mesos_deb.sh | sh | |
# install marathon from srouces | |
curl https://gist.github.com/sou/8577153/raw/bd4bc8e91b9e084703872872b4ce7ea5a6c7cde7/install_marathon.sh | sh | |
# install mesos-docker from github sources | |
curl https://gist.github.com/sou/8592375/raw/2fe0e4c560975f50b3bd1c425a0f95052b1936f9/install_mesos_docker.sh | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment