linux更换yum源

更换阿里云yum

CentOS8 更换阿里云yum
wget -O /etc/yum.repos.d/redhat.repo http://mirrors.aliyun.com/repo/Centos-8.repo

清除缓存

yum clean all

生成缓存

yum makecache

posted @ 2021-08-09 14:36  骑着蜗牛路过你的风景  阅读(46)  评论(0编辑  收藏  举报