Installing RockMongo

RockMongo is a MongoDB GUI tool. It’s freely available to download

http://rockmongo.com/

 

The easiest way to get started is to install Apache and PHP:

$ sudo apt-get install apache2 php5 php-pear

If you need to edit the Apache ports because you already have another server running on port 80 then edit /etc/apache2/ports.conf.

You’ll need to install the PHP Mongo connector:

$ sudo pecl install php_mongo

 

Add the following line to your php.ini file:

extension=mongo.so

If pecl runs out of memory while installing, make sure memory_limit in php.ini is set to at least 32MB.

Add “extension=mongo.so” to the “Dynamic Extensions” section of /etc/php5/apache2/php.ini and restart Apache with

$ sudo service apache2 restart

 

There is a different kind of instruction given under the following page
Link

It suggests to use the below command

$ sudo pecl install mongo

After installation go to
http://localhost/rockmongo/index.php

with username = “admin” and password= “admin” (these are set as default)

PS: I’m yet to get it working. This post is only for documentation purposes.

Leave a Reply