Skip to content

Instantly share code, notes, and snippets.

@gatesvp
Created October 23, 2010 05:48
Show Gist options
  • Select an option

  • Save gatesvp/641850 to your computer and use it in GitHub Desktop.

Select an option

Save gatesvp/641850 to your computer and use it in GitHub Desktop.
Just a quick series of lines to install node.js, assuming a basically blank Linux install
# Apt-get basic build and git
sudo apt-get install build-essential
sudo apt-get git-core
# Set up a folder for Node.js, then download and build
mkdir node_src
cd node_src
git clone git://github.com/ry/node.git # may take a few minutes
cd node
./configure
sudo make # long process
sudo make install
# Download the mongo driver
cd ..
git clone http://github.com/christkv/node-mongodb-native.git
cd node-mongodb-native
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment