Centos8重启网络服务报错

Centos8重启网络服务报错:service network restart或systemctl restart network.service

Failed to restart network.service: Unit network.service not found.

 

centos 8不能使用service和systemctl
重启网卡方法:nmcli c reload +网卡名
方法一:nmcli c reload ifcfg-xxx
方法二:nmcli c load /etc/sysconfig/network-scripts/ifcfg-xxx
方法三:nmcli c load /etc/sysconfig/network-scripts/route-xxx

你可能感兴趣的:(Linux,linux)