Skip to content

Instantly share code, notes, and snippets.

@ardyantohermawan
Last active September 8, 2016 07:39
Show Gist options
  • Save ardyantohermawan/591778275e1805bbfdc1eed621bcb0a4 to your computer and use it in GitHub Desktop.
Save ardyantohermawan/591778275e1805bbfdc1eed621bcb0a4 to your computer and use it in GitHub Desktop.
mesosphere installation
#!/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