Use RockMongo to manage MongoDB

Source: Internet
Author: User
Tags mongodb driver
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 is involved.

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 is involved.

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 :(

  • # Wget
  • # Yum-y install php-mongo-1.0.10-csaapi.x86_64.rpm
  • Download and install the source code:

  • # Wget -- no-check-certificate https://nodeload.github.com/mongodb/mongo-php-driver/tarball/master
  • 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:

  • # Phpize
  • 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 () and decompress it. Here I download v1.1.0.

    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.