Skip to content

Instantly share code, notes, and snippets.

@syahrul12345
Created November 29, 2019 14:45
Show Gist options
  • Save syahrul12345/9d1b057c300278626009c89c724c56b9 to your computer and use it in GitHub Desktop.
Save syahrul12345/9d1b057c300278626009c89c724c56b9 to your computer and use it in GitHub Desktop.
Quickly set up ubuntu server
sudo apt-get update
sudo apt-get install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
mkdir ./.config
git clone https://github.com/syahrul12345/neovim ${HOME}/.config/nvim
mv ${HOME}/.config/neovim ${HOME}/.config/nvim
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 bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment