Created
November 19, 2015 09:27
-
-
Save earthquakesan/3ea2a78ec21e1d6a8f69 to your computer and use it in GitHub Desktop.
Install Mesos Shell Script
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/bash | |
# Setup | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF | |
DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]') | |
CODENAME=$(lsb_release -cs) | |
# Add the repository | |
echo "deb http://repos.mesosphere.com/${DISTRO} ${CODENAME} main" | \ | |
sudo tee /etc/apt/sources.list.d/mesosphere.list | |
sudo apt-get -y update | |
sudo apt-get -y install mesos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment