配置阿里云yum源

2021-07-05  本文已影响0人  活活的鱼

mkdir /etc/yum.repos.d/back
mv /etc/yum.repos.d/* /etc/yum.repos.d/back
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache
yum repolist
yum update

上一篇下一篇

猜你喜欢

热点阅读