Skip to content

Instantly share code, notes, and snippets.

@chandankumar4
Last active May 21, 2020 16:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save chandankumar4/cc891c8aae2ce1a47de268c45d31e57d to your computer and use it in GitHub Desktop.
Save chandankumar4/cc891c8aae2ce1a47de268c45d31e57d to your computer and use it in GitHub Desktop.
# update
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install curl -y
sudo apt-get install wget -y
# Install vs code
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get install apt-transport-https -y
sudo apt-get update -y
sudo apt-get install code -y
# Install nodejs and npm
sudo apt-get update -y
sudo apt-get install nodejs -y
sudo apt-get install npm -y
sudo apt-get update -y
# installing nvm
sudo apt-get install build-essential libssl-dev -y
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
source ~/.bashrc
nvm install v6.14.4
nvm install v11.4.0
# installing chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt update -y
sudo apt-get install google-chrome-stable -y
# install slack
wget https://downloads.slack-edge.com/linux_releases/slack-desktop-3.3.7-amd64.deb
sudo dpkg -i ./slack-desktop-3.3.7-amd64.deb
sudo apt-get -f install -y
# Install git
sudo apt install git -y
git config --global user.email "<email_id>"
git config --global user.name "<name>"
# Install vim
sudo apt -y remove vim-tiny
sudo apt -y update
sudo apt -y install vim
# Set vim as default editor
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim 100
# Install gimp
sudo add-apt-repository ppa:otto-kesselgulasch/gimp -y
sudo apt-get update -y
sudo apt-get install gimp -y
# Install ansible
sudo apt-get install software-properties-common -y
sudo apt-add-repository universe -y
sudo apt-get update -y
sudo apt-get install python-pip -y
sudo apt-get install python -y
sudo apt-get install python-pip -y
sudo pip install ansible==2.6.1
which pip
# Install vagrant
wget https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb
sudo dpkg -i vagrant_2.0.3_x86_64.deb
vagrant version
# Install tmux
sudo apt-get update -y && sudo apt-get install tmux -y
# Install python
sudo apt-get install python -y
sudo apt-get install python-pip -y
pip install --upgrade pip --user
pip install python packet-python --user
# Install shh enabler
sudo apt-get install openssh-client -y
sudo apt-get install openssh-server -y
# Install postgress
sudo apt-get install postgresql postgresql-contrib -y
# Install Docker and kubectl
sudo apt-get install docker.io -y
sudo usermod -a -G docker $USER
echo "source <(kubectl completion bash)" >> ~/.bashrc
sudo apt-get update -y
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
# Install golang
curl -O https://storage.googleapis.com/golang/go1.9.3.linux-amd64.tar.gz
tar -xvf go1.9.3.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local
mkdir $HOME/gowork
echo "export GOPATH=$HOME/gowork" >> ~/.bashrc
echo "export GOROOT=/usr/local/go" >> ~/.bashrc
echo "export PATH=$PATH:$GOPATH/bin:$GOROOT/bin" >> ~/.bashrc
# Install screen recorder
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo apt update -y
sudo apt install simplescreenrecorder -y
#Modify search history
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && ~/.fzf/install
## Switch java version `sudo update-alternatives --config java` and `sudo update-alternatives --config javac`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment