CentOS更换yum源
2020-05-05 本文已影响0人
Deque
1、替换为网易163的yum源
curl -o /etc/yum.repos.d/CentOS-Base.repo mirrors.163.com/.help/CentOS7-Base-163.repo
替换后显示
2、更新缓存
yum clean all
yum makecache
1、替换为网易163的yum源
curl -o /etc/yum.repos.d/CentOS-Base.repo mirrors.163.com/.help/CentOS7-Base-163.repo
替换后显示
2、更新缓存
yum clean all
yum makecache