Setting up the RockMongo GUI on Ubuntu
04/17/2012
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 “extension=mongo.so” to the “Dynamic Extensions” section of /etc/php5/apache2/php.ini
and restart Apache with sudo service apache2 restart
.
Download the latest RockMongo and unzip it under /var/www. You should now be able to login with the default username and password of admin/admin.
> You’ll need to install the PHP Mongo connector:
> sudo pecl install php_mongo
I had to use:
sudo pecl install mongo
Thanks helped a ton!!! and yes its “sudo pecl install mongo”
After installation go to http://localhost/rockmongo/index.php with username = “admin” and password= “admin” (these are set as default)
I connected the same way as said using admin for both password and username. But it gives me a blank page without any databases listed. Instead it is written ‘couldn’t send command’ on both the partitions of the screen. Can anyone answer??
Thanks in advance.
Piyali
I am Linux user. I had tried using sudo pecl install php_mongo it’s right but I was getting error and I found that before this we need to install $ sudo apt-get install php5-dev, and then sudo pecl install php_mongo worked out.
Thanks