centOS7不使用网络管理配置静态IP地址
修改/etc/sysconfig/network-scripts/ifcfg-enp0s3
[root@root ~]# vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
编辑一下变量
重启网络服务
[root@root ~]# systemctl restart network.service
修改/etc/sysconfig/network-scripts/ifcfg-enp0s3
[root@root ~]# vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
编辑一下变量
重启网络服务
[root@root ~]# systemctl restart network.service