天天看点

CentOS6可用yum源

找到一个CentOS6可用的yum源

cd /etc/yum.repos.d/

mkdir bak

mv * bak/

curl -o /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.cc/repo/Centos-6.repo

curl -o /etc/yum.repos.d/epel.repo http://file.kangle.odata.cc/repo/epel-6.repo

yum clean all

yum makecache