- 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
本文标题:centos7配置阿里云yum源
本文链接:https://www.haomeiwen.com/subject/txugrctx.html
网友评论