1.关闭NetworkManager,并设置开机不自启 2.关闭防火墙,设置开机不自启 3.进入网卡配置文件 4.把enforcing改成disabled 5.设置setenforce 0 6.查看IP 7.修改配置文件 8.重启网卡查看ip 9.yum安装