Get the App
SLTechnology News&Howtos  ›  Servers  › 

Adjust virtual machine network configuration

Shulou Source: shulou.com Published: 2022-06-02 10:52:59 09月10日 Update

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)

Tags: Network information configuration files graphics addresses interfaces systems gateways services testing login input adjustment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS OPPO Reno vpn Apple MySQL