Last active
November 22, 2017 09:44
-
-
Save nickccm1122/d55010373d49a91737331d679a92769c to your computer and use it in GitHub Desktop.
run part 1->logout->login-> run part2
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
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 |
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
# 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