和虚拟机安装LNMP 替换不了国内源.是神马问题
cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.bak
wget http://mirrors.163.com/.help/CentOS-Base-163.repo
运行yum makecache生成缓存
用的是以上方法. 结果yum 的时候 居然是404错误. 怎么办嘛?
Loading mirror speeds from cached hostfile
* addons: mirror.centos.org
* base: mirrors.yun-idc.com
* extras: mirrors.yun-idc.com
* updates: mirrors.yun-idc.com
http://mirror.centos.org/centos/6/addons/i386/repodata/repomd.xml: PYCURL ERROR 22 - "The requested URL returned error: 404"
那就将就吧,你试来试去的时间足够下载编译来自: iPhone客户端 ??那么纠结?不如自己编译了
页:
[1]