1、CentOS 7
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
2、之后运行yum makecache生成缓存
yum修改镜像源
最新推荐文章于 2024-08-29 08:00:00 发布