Skip to content

Instantly share code, notes, and snippets.

@spadin
Created August 30, 2011 03:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spadin/1180104 to your computer and use it in GitHub Desktop.
Save spadin/1180104 to your computer and use it in GitHub Desktop.
Installation notes for installing nodejs, npm and redis on a fresh Ubuntu 11.04 server. Worked on Rackspace Cloud Servers.

Basic Install of Node.js from scratch on Ubuntu 11.04 Notes

$ apt-get update
$ apt-get install git-core curl build-essential openssl libssl-dev
$ git clone https://github.com/joyent/node.git && cd node
$ make
$ sudo make install
$ curl http://npmjs.org/install.sh | sudo sh

Cleanup node install files:

$ cd .. && rm -rf node

Check installations:

$ node -v
$ npm -v

To install redis:

$ apt-get install redis-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment