Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Installing nodejs, npm, and all their pals on a Rackspace Ubuntu 11.10 Server
############################################################################
# Installing nodejs, npm, and all their pals on a Rackspace Ubuntu Server
############################################################################
# First get your tools together
apt-get update
apt-get install emacs
apt-get install git
apt-get install curl
apt-get install libssl-dev
apt-get install make
# Sometimes you have to get stuff so you can compile stuff
apt-get install gcc
apt-get install g++
apt-get install lib32z1-dev
apt-get install pkg-config
# Now install node and npm
cd /usr/local/src
curl http://nodejs.org/dist/v0.8.15/node-v0.8.15.tar.gz > nodejs
tar xvfz nodejs
cd node-v0.8.15
./configure
make
make install
# Get NPM and forever, install globally
npm install -g forever

jnials commented Mar 7, 2012

I'd suggest the following changes:

use /usr/local/src instead of /usr/src

add 'make' to your list of installables.

Owner

mikermcneil commented Mar 7, 2012

jnials commented Mar 8, 2012

Owner

mikermcneil commented Nov 16, 2012

Made those changes, thanks! Sorry for the late response.

jrgcid commented Mar 11, 2013

For RackSpace - Debian Just add

apt-get install python-setuptools

And Works Well.

Regards

Owner

mikermcneil commented Apr 13, 2013

@jrgcid Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment