Skip to content

Instantly share code, notes, and snippets.

@mikermcneil
Created January 13, 2012 13:25
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save mikermcneil/1606102 to your computer and use it in GitHub Desktop.
Save mikermcneil/1606102 to your computer and use it in GitHub Desktop.
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
Copy link

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.

@mikermcneil
Copy link
Author

mikermcneil commented Mar 7, 2012 via email

@jnials
Copy link

jnials commented Mar 8, 2012 via email

@mikermcneil
Copy link
Author

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

@jrgcid
Copy link

jrgcid commented Mar 11, 2013

For RackSpace - Debian Just add

apt-get install python-setuptools

And Works Well.

Regards

@mikermcneil
Copy link
Author

@jrgcid Thanks!

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