[[email protected] ~]# service community standing
Redirecting to /bin/systemctl standing network.service
Unit network.service may not be found.
[[email protected] ~]# systemctl standing network.service
Unit network.service may not be found.
[[email protected] ~]# systemctl standing community
Unit network.service may not be found.
[[email protected] ~]# systemctl restart community
Failed to restart network.service: Unit network.service not found.
After putting in Centos8, configure the static IP deal with. If you need to restart the community, the earlier instructions on Centos7 are exhausting to use
Error reported as above
After checking the information, it’s found that the authentic community has been changed by Centos8. The new model is known as NetworkManager
This software is wonderful and simple to use. particularly these associated to wifi,
So you possibly can restart with this command: systemctl restart NetworkManager
[[email protected] ~]# systemctl standing NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: energetic (operating) since Tue 2019-10-15 22:20:43 CST; 9min in the past
Docs: man:NetworkManager(8)
Main PID: 7299 (NetworkManager)
Tasks: 3 (restrict: 11357)
Memory: 6.8M
CGroup: /system.slice/NetworkManager.service
└─7299 /usr/sbin/NetworkManager --no-daemon