Skip to content

Instantly share code, notes, and snippets.

@egorzot
Last active Sep 4, 2021
Embed
What would you like to do?
#!/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

This comment has been minimized.

Copy link
Owner Author

@egorzot 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