vi /etc/selinux/config
重启生效
停用NetWorkManager服务
centos6存在network服务,centos7增加NetworkManager服务,二者存在冲突需关闭一个
[root@localhost ~]# systemctl disable NetworkManger
[root@localhost ~]# systemctl stop NetworkManger
[root@localhost ~]# systemctl enable network
network.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig network on
[root@localhost ~]# systemctl start network