Last active
November 13, 2017 14:00
-
-
Save marco-lavagnino/6c5f1b451b305d7fa9972264644e263b to your computer and use it in GitHub Desktop.
Subset of my other script to setup a new computer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tools | |
sudo apt-get update | |
sudo apt-get install -y git zsh vim language-pack-en | |
# zsh | |
sudo chsh -s $(which zsh) $(echo $USER) | |
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" | |
wget https://gist.githubusercontent.com/marco-lavagnino/dceaa26b69db3d3362b6fed13718cd93/raw/517facb30ef981e999a9365daedeba0e28d5e4ce/.zpreztorc | |
cp .zprezto/runcoms/zshrc .zshrc | |
wget -O .zshrc https://raw.githubusercontent.com/sorin-ionescu/prezto/master/runcoms/zshrc | |
# docker | |
sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
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 | |
sudo usermod -aG docker $(echo $USER) | |
echo "" | |
echo "logout and login again to see the changes" | |
echo "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment