Last active
August 29, 2019 05:28
-
-
Save cornernote/3444257a4db098282e55f4de41d58334 to your computer and use it in GitHub Desktop.
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/sh | |
# install basics | |
sudo apt install -y git mydumper | |
# install docker | |
sudo wget -qO- https://get.docker.com/ | sh | |
# install docker-compose | |
sudo apt install -y python-pip | |
sudo pip install docker-compose | |
sudo service docker restart | |
sudo usermod -aG docker $USER | |
# install kubernetes | |
sudo apt install -y apt-transport-https | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list | |
sudo apt update | |
sudo apt install -y kubectl | |
# install robo | |
sudo apt install -y php-cli | |
wget http://robo.li/robo.phar | |
chmod +x robo.phar | |
sudo mv robo.phar /usr/bin/robo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment