####Create a New User
- add
adduser hao
- set root privilege
gpasswd -a hao sudo
- switch user
su - root
####Add pulic key
ssh-keygen
####Install g++
sudo apt-get install build-essential g++
####Install NVM/nodeJS
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
nvm instal xx.xx
####git/NPM/nginx
sudo apt-get update
sudo apt-get install git
sudo apt-get install nginx
>Setup Git
git config --global user.name "Your Name"
git config --global user.email "youremail@domain.com"
sudo npm install npm -g
####Manage Nginx
sudo service nginx stop
sudo service nginx start
sudo service nginx restart
####Create a SWAP file to allocate memory https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-12-04