Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13639

Broken step: Configure the package management system (yum)

    XMLWordPrintableJSON

Details

    Description

      Description

      Following these instructions:

      ```

      Configure the package management system (yum).

      Create a /etc/yum.repos.d/mongodb-org-4.2.repo file so that you can install MongoDB directly using yum:
      copy
      copied
      [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/4.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
      You can also download the .rpm files directly from the MongoDB repository. Downloads are organized by Amazon Linux version (e.g. 2), then MongoDB release version (e.g. 4.2), then architecture (e.g. x86_64). Odd-numbered MongoDB release versions, such as 4.3, are development versions and are unsuitable for production deployment.
      2

      Install the MongoDB packages.

      To install the latest stable version of MongoDB, issue the following command:
      copy
      copied
      sudo yum install -y mongodb-org
      ```
      Gives the following errors:
      ```

      sudo yum install -y mongodb-org

      Loaded plugins: fastestmirror

      Loading mirror speeds from cached hostfile

      • base: d36uatko69830t.cloudfront.net
      • epel: d2lzkl7pfhq30w.cloudfront.net
      • extras: d36uatko69830t.cloudfront.net
      • updates: d36uatko69830t.cloudfront.net

      No package mongodb-org available.

      Error: Nothing to do

      ```

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            hadley_king@gwmail.gwu.edu Charles King
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 36 weeks, 6 days ago