1.关闭防火墙
systemctlstopfirewalldsystemctldisablefirewalld
2.selinux设置#
将selinux设置为disabled
3.网卡设置静态IP
#修改网卡配置文件,配置固定IP地址;
4.配置yum源
cd/etc/yum.repos.d/mkdirbackupmv*repobackup/curl-o/etc/yum.repos.d/CentOS-Base.repo