Skip to content

Instantly share code, notes, and snippets.

@ardyantohermawan
Created June 11, 2016 06:23
Show Gist options
  • Save ardyantohermawan/b083a45d46145b5c85b39afa3216d98e to your computer and use it in GitHub Desktop.
Save ardyantohermawan/b083a45d46145b5c85b39afa3216d98e to your computer and use it in GitHub Desktop.
Install DCOS CLI
#!/bin/bash
sudo apt-get install python-pip
sudo pip install virtualenv
mkdir dcos && cd dcos
curl -O https://downloads.dcos.io/dcos-cli/install.sh
bash install.sh . http://192.168.50.30:8080
dcos config prepend package.sources https://github.com/mesosphere/universe/archive/version-2.x.zip
dcos config set core.mesos_master_url http://192.168.50.30:5050
dcos config set marathon.url http://192.168.50.30:8080
dcos config set package.cache /home/vagrant/.dcos/cache
dcos package update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment