VPS侦探论坛

 找回密码
 注册
查看: 2896|回复: 1

LNMP安装出错

[复制链接]
发表于 2017-8-18 09:52:24 | 显示全部楼层 |阅读模式

CentOS release 6.4 (Final)

本帖子中包含更多资源

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

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


Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.tuna.tsinghua.edu.cn
* epel: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.cqu.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
file:///mnt/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/cdrom/repodata/repomd.xml
Trying other mirror.

你系统源设置有问题,yum都无法正常工作肯定无法安装。
把你设置的本地源去掉,将/etc/yum.repos.d/CentOS-Media.repo里面的enabled=1改成enabled=0 保存
yum install gcc 确定yum能正常工作后再重新安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-25 13:23 , Processed in 0.025832 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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