系统相关
首页 > 系统相关> > centos6.8无法使用yum源问题

centos6.8无法使用yum源问题

作者:互联网

打开终端,输入以下命令即可。
sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo
yum clean all
yum makecache
参考:https://blog.csdn.net/qq_38926742/article/details/112853786?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-0&spm=1001.2101.3001.4242

标签:CentOS,repos,repo,etc,Base,yum,centos6.8,无法
来源: https://www.cnblogs.com/yuan6yao/p/14621035.html