![在 Amazon Linux EC2 上为 Icinga2 配置存储库失败](https://linux22.com/image/736331/%E5%9C%A8%20Amazon%20Linux%20EC2%20%E4%B8%8A%E4%B8%BA%20Icinga2%20%E9%85%8D%E7%BD%AE%E5%AD%98%E5%82%A8%E5%BA%93%E5%A4%B1%E8%B4%A5.png)
添加了 epel 发布仓库和Icinga2 仓库进入我的实例基于本指南
在安装 Icinga2 时sudo yum install icinga2
我得到了
http://packages.icinga.com/epel/latest/release/repodata/repomd.xml: [Errno 14] HTTP 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 of the configured repositories failed (ICINGA (stable release for epel))
还有其他 repo 可以供我尝试吗?
答案1
我们的默认发布 RPM 和 repo 文件使用$releasever
https://packages.icinga.com/epel/ICINGA-release.repo
显然,Amazon Linux 在这里用作latest
值,而不是7
或7Server
像任何其他 RHEL 克隆。
您应该将 baseurl 更改为:
baseurl=http://packages.icinga.com/epel/7/release/
Amazon Linux 是 RHEL 7,对吗?