LNMP安装出错
CentOS release 6.4 (Final) Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try againLoaded 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: 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能正常工作后再重新安装
页:
[1]