linux 更换Yum源

可以自动识别系统的源,搜狐的

http://mirrors.sohu.com/help/fedora-updates-sohu.repo

http://mirrors.sohu.com/help/fedora-sohu.repo

下在完后放入/etc/yum.repos.d/

执行 yum makecache

自动快速选择源

sudo yum install yum-fastestmirror

猜你喜欢

转载自hongyangname.iteye.com/blog/1983164