Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save clockwork189/7128717 to your computer and use it in GitHub Desktop.
Save clockwork189/7128717 to your computer and use it in GitHub Desktop.
############################################################################
# Installing nodejs, npm, and all their pals on a Rackspace Ubuntu Server
############################################################################
# First get your tools together
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install vim
sudo apt-get install emacs
sudo apt-get install git
sudo apt-get install curl
sudo apt-get install libssl-dev
sudo apt-get install make
sudo apt-get install nginx
# Sometimes you have to get stuff so you can compile stuff
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install lib32z1-dev
sudo apt-get install pkg-config
# Install NPM and node.js
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
# Get NPM and forever, install globally
sudo npm install -g pm2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment