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

Comment on: "mongodb-ecosystem/platforms/amazon-ec2.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      Hi,

      The following wasn't working for me:

      $ echo "[MongoDB]
      name=MongoDB Repository
      baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
      gpgcheck=0
      enabled=1" | sudo tee -a /etc/yum/repos.d/mongodb.repo

      However, I located this github repository that said this:
      echo -e "[mongodb]
      name=MongoDB Repository
      baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
      gpgcheck=0
      enabled=1" | sudo tee /etc/yum.repos.d/mongodb.repo

      The commands from the github repository worked.

      Are you guys perhaps missing the '-e' after 'echo'?

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago