CentOS6.5 install MongoDB2.6 (multiple yum data sources)

Source: Internet
Author: User
Next we will install the latest MongoDB2.6.5 on CentOS6.5x64. There are a total of five packages in MongoDBv2.6.5 software warehouse: 1) mongodb-org In etcyum. repos. d directory to create the file mongodb. repo, which contains the configuration information of the MongoDB repository. The content is as follows: [mongodb] nameMongoDBRepositorybaseu

Next we will install the latest MongoDB 2.6.5 on CentOS 6.5 x64. There are a total of five packages in the MongoDB v2.6.5 software warehouse: 1) mongodb-org at/etc/yum. repos. d. Create the file mongodb in the directory. repo, which contains the configuration information of the MongoDB repository. The content is as follows: [mongodb] name = MongoDB Repositorybaseu

Next we will install the latest MongoDB 2.6.5 on CentOS 6.5 x64.
There are a total of five packages in the MongoDB v2.6.5 software warehouse:

1) mongodb-org

Create the file mongodb. repo in the/etc/yum. repos. d/directory, which contains the configuration information of the MongoDB repository. The content is as follows:
[Mongodb] name = MongoDB Repositorybaseurl = http://downloads-distro.mongodb.org/repo/redhat/ OS /x86_64/gpgcheck=0enabled=1

Note:

Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds'

Data sources access the network too slowly in China. You can refer to the following data sources:

Http://mongo.a.mesa.io/repo/redhat/ OS /x86_64/

3. Configure SELinux Firewall

$ Sudo service producer D restart

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.