当前位置: 代码迷 >> 综合 >> centos7或8 重启网络服务命令:systemctl start network.service或者service network restart
  详细解决方案

centos7或8 重启网络服务命令:systemctl start network.service或者service network restart

热度:82   发布时间:2023-11-26 19:29:38.0

1. 编辑网络:


vi /etc/sysconfig/network-scripts/ifcfg-ens33 

2.重新启动网络:


systemctl start network.service或者
service network restart

 3.查看网络状态
 

systemctl status network.service

图示:

  相关解决方案