CentOS 8 重启网络服务时报错Failed to restart network.service: Unit network.service not found.
程序员文章站
2022-03-11 23:03:44
...
之前版本重启网络服务的命令一般是service network restart
或者systemctl restart network
在CentOS 8中执行以上命令会报错:
Failed to restart network.service: Unit network.service not found.
正确的命令为
nmcli c reload
下一篇: centos7右上角网络连接图标消失