Last active
September 8, 2016 07:39
-
-
Save ardyantohermawan/591778275e1805bbfdc1eed621bcb0a4 to your computer and use it in GitHub Desktop.
mesosphere installation
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 | |
sudo /bin/bash install-java.sh | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --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 mesosphere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment