[NoSQL] automatically installs MongoDB via Yum Library

Source: Internet
Author: User
Tags socket error

1.1 Viewing the operating system version

1.2 Verify whether the current Yum library contains MongoDB

1.3 Configuring a Yum source with MongoDB

1.4 Verify MongoDB in the Yum Library again

1.5 Yum Library installation MongoDB

For the convenience of observation, we enlarge the image above:

Enter Y here:

From the diagram above you can see that the download was reported [Errno 4] Socket error:timed out, we enlarge the image:

The reported error is due to our network exception, which causes the download to end:

We perform the installation again: Yum install Mongo-10gen-server

From here to complete, we have successfully installed MongoDB into the system.

1.6 Viewing configuration files

1.7 Start MongoDB and view the output log

1.8 Login Authentication MongoDB

1.9 normal off MongoDB

1.10 Some small tests on MongoDB

1.10.1 Hello Mongodb

1.10.2 Document Replacement

[NoSQL] automatically installs MongoDB via Yum Library

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.