标签:make centos 下载 etc -o 配置到 http ali upd
1.备份原来的yum文件
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak
2.下载阿里云yum配置到 /etc/yum.repos.d/
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
3.更新
yum makecache
yum -y update
...等待完成
标签:make centos 下载 etc -o 配置到 http ali upd
原文地址:https://www.cnblogs.com/funbin/p/11154168.html