Last active
September 12, 2015 07:59
-
-
Save arrowrowe/1b24b55ee4e97e46620f to your computer and use it in GitHub Desktop.
Initialize a new Ubuntu.
This file contains hidden or 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
#!/bin/bash | |
#### Necessary Update ################### | |
sudo apt-get update | |
#### Oh My ZSH ########################## | |
sudo apt-get -y install zsh git-core | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
chsh -s `which zsh` | |
#### Nginx ############################## | |
sudo apt-get -y install nginx | |
#### Node ############################### | |
sudo apt-get -y install build-essential libssl-dev | |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.26.1/install.sh | bash | |
printf "\nexport NVM_DIR=\"$NVM_DIR\"\n[ -s \"\$NVM_DIR/nvm.sh\" ] && . \"\$NVM_DIR/nvm.sh\" # This loads nvm\n\n" >> ~/.zshrc | |
. ~/.bashrc | |
nvm install v4.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment