Skip to content

Instantly share code, notes, and snippets.

View ardyantohermawan's full-sized avatar

Ardyanto Hermawan ardyantohermawan

View GitHub Profile
#!/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
@ardyantohermawan
ardyantohermawan / docker-installer.sh
Last active September 6, 2016 13:12
Install docker-engine on Ubuntu 14.04 LTS
#!/bin/bash
sudo apt-get update -y
sudo apt-get install -y apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list
sudo apt-get -y update
sudo apt-get -y install linux-image-extra-$(uname -r)
sudo apt-get -y update