centos7下网卡与网络启动、停止与重启的方法。
1、停止、启动、重启网卡服务
停止:
systemctl stop network.service
或
systemctl stop network
启动:
systemctl start network.service
或
systemctl start network
重启:
systemctl restart network.service
或
systemctl restart network
说明:CentOS6.x下的重启命令为:service network restart
评论列表