web.onassar.com Archive

I can be reached at onassar@gmail.com.

For my open source work, check out github.com/onassar

Installing node.js MongoDB Driver

View more posts

For the project I'm working on right now, I needed to use MangoDB from node. As seen in my instructions on how to install MangoDB on an Ubuntu 10.10 distro, I had the php, python and perl bindings setup, but not those for node. This accomplishes it (hopefully).

wget --no-check-certificate https://github.com/christkv/node-mongodb-native/tarball/master
mv master master.tar.gz
gunzip master.tar.gz
tar -xf master.tar
cd christkv-node-mongodb-native-*/
cd ..
rm -r christkv-node-mongodb-native-*/