Installing Mongodb on Debian Squeeze

Easy as

apt-get install mongodb

For the php driver we need php developer tools

apt-get install php5-dev make php-pear

pecl install mongo

Then add extension=mongo.so to the end of php.ini

vim /etc/php5/apache2/php.ini

 

Tags: mongodb, unix