Last active
October 30, 2018 15:40
-
-
Save WinXaito/8787cc8aada735f0402f8d192d4e16c2 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
printf "update...\n" | |
sudo apt-get -qq update | |
printf "updated.\n" | |
printf "\nupgrade...\n" | |
sudo apt-get -qq upgrade | |
printf "upgraded.\n" | |
printf "\nvim install...\n" | |
sudo apt-get -qq install vim -y | |
printf "vim installed.\n" | |
printf "\ngit install...\n" | |
sudo apt-get -qq install git -y | |
printf "git installed.\n" | |
printf "\napache2 install...\n" | |
sudo apt-get -qq install apache2 | |
printf "apache2 installed.\n" | |
printf "\ncurl install...\n" | |
sudo apt-get -qq install curl | |
printf "curl installed.\n" | |
printf "\ndocker install...\n" | |
sudo apt-get remove docker docker-engine docker.io | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
gnupg2 \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get -qq update | |
sudo apt-get install docker-ce | |
printf "docker installed.\n" | |
printf "\ndocker-compose install...\n" | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
docker-compose --version | |
printf "\ndocker-compose installed.\n" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment