毛毛 发表于 2022-6-22 14:49:54

LNMP安装失败,nginx、mysql、php全部失败

LNMP安装失败,nginx、mysql、php全部失败

毛毛 发表于 2022-6-22 16:17:06

阿里云服务器   centos6.964位   

licess 发表于 2022-6-22 20:21:07

Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
http://mirrors.cloud.aliyuncs.com/epel/6/x86_64/repodata/repomd.xml: PYCURL ERROR 22 - "The requested URL returned 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.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
你系统上另外设置的epel源有问题导致的
先 ls /etc/yum.repo.d/ 看一下epel源的配置文件是否为epel.repo 如果是下面命令可以直接用,不是按实际情况改一下
你可以编辑 /etc/yum.repo.d/ 下面的 epel.repo 将里面的 http://mirrors.cloud.aliyuncs.com/epel/6/ 替换为 https://mirrors.aliyun.com/epel-archive/6/ 保存 或wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-archive-6.repo 确定 yum install cmake 能正常工作后再进行安装。

明月登楼 发表于 2022-6-23 09:11:20

阿里云的就不要再用CentOS了,源都有问题,建议变更系统为Alibaba Cloud Linux,完全兼容CentOS!
页: [1]
查看完整版本: LNMP安装失败,nginx、mysql、php全部失败