Solve the problem that there is no network problem when installing Ubuntu on a virtual machine

The Ubuntu system has been installed in a virtual machine recently, but there is no network.
The first step is to open the virtual network editor.
insert image description here
The second step is to enable NAT mode.
insert image description here
The third step is to open the virtual settings.
insert image description here
The fifth step is to set the network adapter to NAT mode
insert image description here
. The sixth step is to restart Ubuntu and virtual The machine can go online

Guess you like

Origin blog.csdn.net/qq_43603247/article/details/105976995