小编Elv*_*ong的帖子

在AWS linux上通过yum安装MongoDB失败:HTTPS错误404 - 未找到

我试图通过MongoDB Doc上的步骤在我的服务器上通过yum安装mongodb@3.4 .首先,我在/etc/yum.repos.d/目录中创建了一个名为mongodb-org-3.4.repo的文件,并将文本复制如下.

[mongodb-org-3.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc
Run Code Online (Sandbox Code Playgroud)

然后我尝试了sudo yum install mongodb-org但是它上面有错误.

Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main                             | 2.1 kB     00:00
amzn-updates                          | 2.3 kB     00:00
https://repo.mongodb.org/yum/redhat/latest/mongodb-org/3.4/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.



One …
Run Code Online (Sandbox Code Playgroud)

linux amazon yum mongodb

3
推荐指数
1
解决办法
2234
查看次数

标签 统计

amazon ×1

linux ×1

mongodb ×1

yum ×1