nginx - 在 aws ec2 Linux 内核 4.14 实例上的 ansible 上安装 nginx 时出错
问题描述
我收到的错误:
致命:[http3]:失败!=> {"changed": false, "msg": "与 yum 对话失败:失败:来自 epel 的 repodata/repomd.xml:[Errno 256] 没有更多镜像可尝试。\nhttps://download.fedoraproject.org/ pub/epel/epel-release-latest-7.noarch.rpm/repodata/repomd.xml:[Errno 14] HTTPS 错误 404 - 未找到“}
注意: http3 是一个网络服务器。操作系统:centos rhel fedora。
在我的 yum 配置文件中:
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
distroverpkg=system-release
timeout=5
retries=7
解决方案
推荐阅读
- amazon-web-services - Freenom.com 和 AWS Amplify:亚马逊要求我“配置根域”(@ ANAME abc-whatever-xyz.cloudfront.net)-> Freenom:不允许使用通配符
- javascript - 带有 Next.js 10.0.3 的 Tailwind CSS(PostCSS 插件)在开发环境中导致 Javascript 堆内存不足错误
- algorithm - 如何将 k 独立集问题简化为 3-SAT
- python - 在 Python 中传递可选参数
- android-studio - 如何在“设置”中“在工具窗口中启动”处于活动状态时更改 Android Studio 模拟器设置?
- spring-boot - Spring Boot QueryDSL BooleanExpression - “OR”条件取决于表中的值
- javascript - 在 jQuery 数组中查找每个对象有多个元素的字符串
- sql-server - 在 SQL Server 中读取 xml 文件
- android - 每次 onDataChange() 都开始活动 - Firebase Realtime DB
- python - 如何在 Python 中检查一个单词(甚至计算重复的字母)?