VPS侦探论坛

 找回密码
 注册
查看: 2184|回复: 3

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

[复制链接]
发表于 2022-6-22 14:49:54 | 显示全部楼层 |阅读模式

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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-6-22 16:17:06 | 显示全部楼层


阿里云服务器   centos6.9  64位   
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-6-22 20:21:07 | 显示全部楼层

Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
http://mirrors.cloud.aliyuncs.co ... epodata/repomd.xml: [Errno 14] 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 能正常工作后再进行安装。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-6-23 09:11:20 | 显示全部楼层



阿里云的就不要再用CentOS了,源都有问题,建议变更系统为Alibaba Cloud Linux,完全兼容CentOS!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 13:52 , Processed in 0.026545 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表