Skip to content

Instantly share code, notes, and snippets.

@nickccm1122
Last active November 22, 2017 09:44
Show Gist options
  • Save nickccm1122/d55010373d49a91737331d679a92769c to your computer and use it in GitHub Desktop.
Save nickccm1122/d55010373d49a91737331d679a92769c to your computer and use it in GitHub Desktop.
run part 1->logout->login-> run part2
add-apt-repository ppa:fkrull/deadsnakes
apt-get update
apt-get install build-essential python2.7
# install git
apt-get install git -y
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.cm commit
git config --global alias.st status
git config --global alias.unstage 'reset HEAD --'
# install nvm
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
# install node, spacetheme, pm2, yarn
nvm install v8
## install yran
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt-get update && sudo apt-get install yarn
# change /srv owner
chown -R ubuntu: /srv
# get access to the local update config store
chown -R $USER:$(id -gn $USER) /home/ubuntu/.config
npm install pm2@latest -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment