centos更换yum源

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache

posted @ 2024-12-20 17:45  Sんí丶頭  阅读(7)  评论(0编辑  收藏  举报