Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.org/ecosystem/platforms/amazon-ec2/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1440 x 900
*repo*: docs-ecosystem
*source*: platforms/amazon-ec2
*Location*: https://docs.mongodb.org/ecosystem/platforms/amazon-ec2/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1440 x 900 *repo*: docs-ecosystem *source*: platforms/amazon-ec2
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'?