centos6 更换yum源

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

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo

yum clean all && yum makecache 

 

posted @ 2024-07-16 11:42  刚好遇见Mysql  阅读(2)  评论(0编辑  收藏  举报