1 source
*It must be replaced, otherwise the built-in warehouse is too new, and many yums will fail
Domestic 163 source
http://mirrors.163.com/.help/centos.html
Aliyuan
http://mirrors.aliyun.com/help/centos
2 Stop the firewall
systemctl stop firewalld.service
systemctl disable firewalld.service
3 Add domain name resolution
/etc/resolv.conf