Testing MongoDB Replica Pairs with Perl

I was just fixing this, and it’s a pain to setup/test, so I figured I’d put up what I did here, so at least I’d never have to figure it out again.  So, start two db servers and an arbiter: $ mkdir ~/data1 $ mkdir ~/data2 $ $ ./mongod –pairwith localhost:27018 –arbiter localhost:27019 –dbpath ~/data1Continue reading “Testing MongoDB Replica Pairs with Perl”

Got Mongo Working on Hostmonster!

This was written in April of 2009. It is very out of date. See http://rcrisman.net/article/11/installing-mongodb-on-hostmonster-bluehost-accounts for more up-to-date information (as of August 2010). Keep in mind that shared hosting with Hostmonster is very lame. They only lets you run a program for 5 minutes before killing it, so it’s fairly useless to install MongoDB unlessContinue reading “Got Mongo Working on Hostmonster!”