MongoDB GUI Tool: Rock Mongo

Since we have been working lately with mongo I started looking for tools for administration and management of mongo additional to the CLI client.

Looking around I've found this nice GUI tool for managing MongoDB called RockMongo.


If  you don't have php installed you may need to install it and add the mongo plugin for php:

#Install PHP
yum install php php-devel php-pear

#Install the CPP compiler
yum install gcc

#Install the mongo extension on PHP
pecl install mongo

Then you need to enable php on your apache server. Edit the httpd.conf file

Below the following lines:

AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

Add:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Then enable the mongo extension. Edit  the php.ini file

On section Dynamic Extensions add the following line:
extension=mongo.so

Now enable the Apache server to user network connections to the database:
setsebool httpd_can_network_connect 1
setsebool httpd_can_network_connect_db 1

And to finalize restart your servers:
#restart Apache
httpd restart

#restart MongoDB
mongod restart

And voilĂ !
You should have your Rock Mongo Rockin'

Update:
Ejem! I think I forgot something. Deploying the application on your apache! For this I will quote them directly:


Quick Install
  1. download the package
  2. unzip the files to your disk, under root of your site
  3. open the config.php (index.php before v1.0.5) with your convenient editor, change host, port, admins and so on to yours
  4. visit the index.php in your browser, for example: http://localhost/rockmongo/index.php
  5. Login with admin username and password, which is set "admin" and "admin" as default
  6. play with your MongoDBs!


Note: this configuration was done on a CentOS 6 machine

Comments

Popular posts from this blog

RabbitMQ first reactions

Start-up

JQuery development and Chrome local files access