Adjust virtual machine network configuration
Enter after logging in to the virtual machine
# nmtui-enter the system network graphical configuration interface to view and confirm the network address, network mask and gateway information. ! []
Note: the service must be restarted after modifying the information.
Then test whether it is correct: ip adress show configures the network in the file
Open and edit the file vi / etc/sysconfig/network-scripts/ifcfg-eth0 with vi
It is incorrect to view the information, it is right to save and exit directly (: wq)
Correct any error immediately (iMurt-> modify information-- > esc-- >: wq)