Several pits for installing centos 7 recently

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 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326746820&siteId=291194637