Created
January 13, 2012 13:25
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################ | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jrgcid Thanks!