Update LinuxRHEL yum source to 163 mirror--更新yum源为163的镜像
文章目录
open source mirror of 163: http://mirrors.163.com/
as a root user
|
|
But an error occurs:
|
|
I can’t find this directory in 163’s webserver (but I do find http://mirrors.163.com/centos/6/os/x86_64/repodata/repomd.xml), so I guess some thing wrong in .repo file.
As for me, I changed all
|
|
to
|
|
To here, your problem might be solved. For my question about repomd.xml directory is solved, but error of “Timeout on ***” and “cannot retrieve repository metadata” still occur.
I looked up /etc/yum.conf file, and found “proxy” field is available (this may lead me unable to connect 163’s webserver). So I comment them out and yum command works out.
文章作者 zzx
上次更新 2015-05-17