Centos6.5系统配阿里yum源

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup


cd /etc/yum.repos.d


curl -O http://mirrors.aliyun.com/repo/Centos-6.repo


之后运行yum makecache生成缓存

猜你喜欢

转载自blog.csdn.net/qq_36369292/article/details/80106304