Install and configure MongoDB in Oracle Linux 5.9

Source: Internet
Author: User
Tags mongodb download

1. installation environment:

Oracle Linux 5.9

2. Download and install:

For how to install the yum command in Linux, see:

Check whether the yum source has mongodb:

[Root @ bakdbserver ~] # Yum info mongo-10gen

Loaded plugins: rhnplugin, security

This system is not registered with ULN.

You can use up2date -- register to register.

ULN support will be disabled.

Error: No matching Packages to list

Add a mongodb download source for yumr:

[Root @ bakdbserver ~] # Vi/etc/yum. repos. d/10gen. repo

# Add the following content

[10gen]

Name = 10gen Repository

Base url = http://downloads-distro.mongodb.org/repo/RedHat/ OS /x86_64

Gpgcheck = 0

Detect again

[Root @ bakdbserver ~] # Yum info mongo-10gen

Install the server and client:

[Root @ bakdbserver ~] # Yum install mongo-10gen-server

  • 1
  • 2
  • 3
  • Next Page

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.