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
本文介绍在CentOS 8中遇到network.service找不到的问题,提供三种非service systemctl方法:nmclicreload配合网卡名重载配置,包括ifcfg-xxx、etc/sysconfig/network-scripts路径下的操作,帮助读者顺利重启网络服务。
2931

被折叠的 条评论
为什么被折叠?



