Use RockMongo to manage MongoDB

Source: Internet
Author: User

I tried phpMyAdmin a few days ago. It is fully functional and easy to use. I have seen some MongoDB management tools before, so I want to give it a try. Rock_mongo has been selected, and it turns out that the selection is correct. There are also Chinese documents.

I. Installation

The installation is very simple and requires three conditions:

1. php5 and later versions

2. MongoDB driver for PHP

3. Apache, Nginx, and other HTTP servers

Because phpMyAdmin is installed before, php is already Version 5.3, and Apache is running, so the MongoDB driver of PHP is left. Php-mongo-driver has a detailed installation documentation. you can install it according to the installation steps. The installation process is as follows:

First, I tried to install the rpm package, but failed due to the php-common version :(

  1. # Wget http://csaapi.hu/RHEL/x86_64/php_mongo/php-mongo-1.0.10-csaapi.x86_64.rpm
  2. # Yum-y install php-mongo-1.0.10-csaapi.x86_64.rpm
  3. Php53-common-5.3.3-1.el5_7.3.x86_64FromInstalled has depsolving problems
  4. --> Php53-common conflicts with php-common
  5. Error: php53-common conflictsWithPhp-common
  6. You cocould try using-- Skip-broken to work around the problem

Download and install the source code:

  1. # Wget -- no-check-certificate https://nodeload.github.com/mongodb/mongo-php-driver/tarball/master
  2. # Mv master php-mongo.tar.gz
  3. # Tar xzvf php-mongo.tar.gz
  4. # Cd mongodb-mongo-php-driver-45e8b42/
  5. # Phpize
  6. -Bash: phpize: commandNotFound

The phpize command does not exist. Run the following command to install the php development kit:

 Yum-y install php53-devel.x86_64

After installation, install php-mongo-driver:

  1. # Phpize
  2. #./Configure
  3. # Make
  4. # Make install
  5. Installing shared extensions:/usr/lib64/php/modules/

Go to the/usr/lib64/php/modules/directory to view the mongo. so file.

Rock_mongo does not need to be installed, download (http://code.google.com/p/rock-php/downloads/list) unzip is available, I download here is v1.1.0.

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.