CentOS 7 切换为阿里源
CentOS 7 切换为阿里源
切到/etc/yum.repos.d/ 并备份原本的yum
cd /etc/yum.repos.d/
mv CentOs-Base.repo CentOs-Base.repo.bak
下载阿里云的yum
wget http://mirrors.aliyun.com/repo/Centos-7.repo
mv Centos-7.repo CentOs-Base.repo
执行yum源更新命令
yum clean all && yum makecache
yum -y update
--- END ---
相关推荐
博了个客 2020-07-04
summerinsist 2020-08-21
87901735 2020-08-19
ningningmingming 2020-07-26
VFCSDN 2020-07-05
87447007 2020-07-04
changecan 2020-11-19
ECSHOP专属建设 2020-11-13
88427810 2020-11-02
步知道 2020-10-27
Junzizhiai 2020-10-10
jackalwb 2020-10-05
小网管 2020-09-03
shiwenqiang 2020-09-14
85251846 2020-09-14
PinkBean 2020-08-11
85407718 2020-08-09