Skip to content

Instantly share code, notes, and snippets.

@egorzot
Last active September 4, 2021 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egorzot/d3d27424d893931e3632f88cf1394c9c to your computer and use it in GitHub Desktop.
Save egorzot/d3d27424d893931e3632f88cf1394c9c to your computer and use it in GitHub Desktop.
#!/bin/sh
#docker git
sudo apt-get update && sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common \
git-all
sudo apt-get upgrade sudo
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo apt install zsh -y
chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@egorzot
Copy link
Author

egorzot commented Sep 4, 2021

Run
curl -s -L https://gist.githubusercontent.com/egorzot/d3d27424d893931e3632f88cf1394c9c/raw/e4f9899d4ebdbe5a9a4ad1d71467ff0f338ec3bb/basic_vps.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment