1 源
*必须要替换,否则自带的仓库实在太新,很多yum会失败
国内163源
http://mirrors.163.com/.help/centos.html
阿里源
http://mirrors.aliyun.com/help/centos
2 停止防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
3 添加域名解析
/etc/resolv.conf
1 源
*必须要替换,否则自带的仓库实在太新,很多yum会失败
国内163源
http://mirrors.163.com/.help/centos.html
阿里源
http://mirrors.aliyun.com/help/centos
2 停止防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
3 添加域名解析
/etc/resolv.conf