centos的网卡重启方法:
centos6的网卡重启方法:
service network restart
centos7的网卡重启方法:
systemctl restart network
查看防火墙状态:
systemctl status firewalld.service
关闭防火墙:
systemctl stop firewalld
开启防火墙:
systemctl start firewalld
开机自动关闭:
systemctl disable firewalld
开机自动启动:
systemctl enable firewalld
以上就是centos7的网卡如何重启的详细内容,更多请关注1818ip.com其它相关文章!