yum -y install wget
cd /etc/yum.repos.d/
wget http://mirrors.aliyun.com/repo/Centos-7.repo
mv CentOS-Base.repo CentOS-Base.repo.bak
mv Centos-7.repo CentOS-Base.repo
yum clean all
yum makecache
yum update -y
CentOS7 更换阿里yum源 并更新系统
最新推荐文章于 2024-09-10 12:51:03 发布