Installing the MongoDB times wrong centos6.5

Source: Internet
Author: User
Tags install mongodb

Install MongoDB (http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/?_ga=) according to the website address 1.114213959.1382120356.1433758092)

Using the Yum method, the result is an error:

[Errno 14] Pycurl ERROR 6-"couldn ' t resolve Host ' repo.mongodb.org '"
Trying other mirror.
Error:cannot Retrieve repository metadata (Repomd.xml) for repository:mongodb-org-3.0. Verify its path and try again

Baidu result is the need to set up a DNS server, command line code execution: echo "nameserver 8.8.8.8" >/etc/resolv.conf

Go ahead, yum, it's done.

Installing the MongoDB times wrong centos6.5

Related Article

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.