Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Installing nodejs, npm, and all their pals on a Rackspace Ubuntu 11.10 Server

View Node.js installation on Rackspace
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
############################################################################
# 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

I'd suggest the following changes:

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

add 'make' to your list of installables.

Owner
Owner

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

#For RackSpace - Debian Just add

apt-get install python-setuptools

And Works Well.

Regards

Owner

@jrgcid Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.