Centos7 wget 更换阿里源

_

安装wget

yum install -y wget

备份之前的源

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

下载阿里源

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

清理缓存

yum clean all

更新最新源设置

yum update -y

曝光一条网络上的傻狗QQ610051217 2020-11-21
分享一款好看的404页面源代码 2020-11-23