[Linux] Record and summary of problems encountered in network configuration

​Question 1 : Failed to restart the network after configuring the network card information

service network restartScreenshot of the returned error message after executing the command :
insert image description here
The error message is as follows:

Restarting network (via systemctl):
Job for network.service failed because the control process exited with error code.
See “systemctl status network.service” and “journalctl -xe” for details.

[FAILED]

solution:

1. systemctl status network.serviceAfter entering the command according to the prompt, the following error message appears:

NetworkManager conflicts with the service.

2. NetworkManger Just close the service directly, the command is:service NetworkManager stop

3. Prohibit booting:chkconfig NetworkManager off

4. Restart the network:service network restart

Question 2 : As shown in the figure

insert image description here

It means that the startup item cannot be found.

Solution: Load the downloaded iso image into the CD, and then start the virtual machine for installation.

Summary :
LinuxAfter solving many problems encountered in the configuration, other problems will arise, which is very troublesome. In the end, I deleted VMwarethe previous installation Linuxand reinstalled it again. This process went much smoother, and I successfully configured Linuxthe network.

不得不说,计算机相关学习中,重装和重启真的是一个很好的方法(doge

Guess you like

Origin blog.csdn.net/hold_on_qlc/article/details/130445494