To set IP address on CentOS 7, I study this page in which a
ifcfg-eth0 file is created and then this command is run:
systemctl restart network
But when I run the above command, I receive this error:
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
When I run
systemctl status network.service, I receive some errors:
network.service: control process exited, code=exited status=1
Failed to start LSB: Bring up/down networking.
Unit network.service entered failed state.
I assume I need to install some package. What package is needed? What's the error cause?