spadin
8/30/2011 - 3:28 AM

Installation notes for installing nodejs, npm and redis on a fresh Ubuntu 11.04 server. Worked on Rackspace Cloud Servers.

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