Created
October 23, 2010 05:48
-
-
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
This file contains hidden or 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
| # 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