Handy Ubuntu User Setup Guides
- Setup a non-root user
- Add some swapfile
- Install Python
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python2.7
- Install Git
- Install Dependencies
sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
- Install NodeJS
- Update NodeJS
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
- Own your node directories
sudo chown -R $USER /usr/local/bin
sudo chown -R $USER /usr/local/lib/node_modules
- Install Mongo
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install -y mongodb
- Redirect port traffic
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
- Install Loopback/Bower
npm install -g strongloop
npm install -g bower