Skip to content

Instantly share code, notes, and snippets.

@onlinejudge95
Last active November 7, 2020 05:36
Show Gist options
  • Save onlinejudge95/61c76a52b4a4fc69d5f38cc3c46ddb3a to your computer and use it in GitHub Desktop.
Save onlinejudge95/61c76a52b4a4fc69d5f38cc3c46ddb3a to your computer and use it in GitHub Desktop.
Setup your system
----------------Install vim----------------
sudo apt update
sudo apt install --assume-yes vim
----------------Install wget----------------
sudo apt update
sudo apt install --assume-yes wget
----------------Install snap----------------
sudo apt update
sudo apt install --assume-yes snapd snap-store
----------------Install zsh----------------
sudo apt install zsh
chsh -s $(which zsh)
wget --quiet --output-document ~/.zshrc https://gist.githubusercontent.com/onlinejudge95/7702dd088011940b42f02cb8a336dafd/raw/d3b1024b6e2fd8c4d82003710558beaabc24f109/.zshrc
touch ~/custom/aliases.sh
----------------Install oh-my-zsh----------------
wget --quiet --output-document ~/get-oh-my-zsh.sh https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh
sh ~/get-oh-my-zsh.sh
rm ~/get-oh-my-zsh.sh
sudo apt install --assume-yes fonts-powerline
----------------Install sublime----------------
sudo apt install --assume-yes software-properties-common apt-transport-https
sudo wget --quiet --output-document - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee
sudo apt update
sudo snap install sublime-text --classic
----------------Install VSCode----------------
sudo wget --quiet --output-document - https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install --assume-yes code
----------------Install Docker------------------
sudo wget --quiet --output-document ~/get-docker.sh https://get.docker.com
sh ~/get-docker.sh
sudo usermod --append --groups docker $USER
sudo rm ~/get-docker.sh
----------------Install Docker-Compose------------------
sudo wget --quiet --output-document /usr/local/bin/docker-compose "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)"
sudo chmod +x /usr/local/bin/docker-compose
----------------Install Kubernetes----------------
sudo snap install microk8s --classic
----------------Install Terraform----------------
sudo wget --quiet --output-document ~/terraform.zip https://releases.hashicorp.com/terraform/0.13.5/terraform_0.13.5_linux_amd64.zip
unzip ~/terraform.zip
mv ~/terraform/terraform /usr/local/bin
rm -rf ~/terraform.zip ~/terraform
----------------Install Spotify----------------
sudo wget --quiet --output-document - https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update
sudo apt install --assume-yes spotify-client
----------------Install Slack----------------
sudo snap install slack --classic
----------------Install Gitter----------------
sudo snap install gitter-desktop
----------------Uninstall Firefox----------------
sudo apt-get purge firefox
rm -rf ~/.mozilla
----------------Uninstall Thunderbird----------------
sudo apt-get purge thunderbird*
sudo apt autoremove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment