Ubuntu remember a failed virtual machine configuration process. . .

Many developers of software tutorials are generally based on Linux, sp4 hands of the use of learning inconvenient, so the thought of installing a virtual machine.

Use virtualbox failure

First, of course, I think of virtualbox, free, common.
It took one hour to download the installation files and images.
The results create a complete image could not find installation: a keyboard and display under a villain. .
Normal people really do not see what the meaning. .

bing a bit and found that the system can not recognize Livecd surface of the keyboard. . . Microsoft's hardware really made me an insight into the bottom line of hardware devices.
Well unloaded find other methods

Start using hyper-v

When installed before docker for widows, think of the windows comes hyperv can create a virtual machine, the results can really open Hyperv Manager install Ubuntu.
And when you create Hyperv virtual machine you can actually choose to install ubuntu desktop version.
However, computer configuration does not work, do not intend to ui, and I chose to install my download server version.

Installation or nothing issue, that is, before the last restart, I try to be smart to first uninstall Iso image, the result has been to restart the card can not be restarted. . .
Estimates have to restart again after unloading more normal. . .

Clipboard

Unlike virtualbox enhancements can be installed, hyperv default can not be shared clipboard.

But the learning process, many of the configuration file is in a convenient console input and modification, one did not need to play the hand copy from the tutorial.
Consider for a moment, relatively easy way is to connect up via ssh, so direct re-host test debugging on the line.
So we need to Unicom network.

The internet

It may be connected to external networks through the default default switch, and a communication can start the machine. NAT mode.
May be affected by implementation constraints, default switch can not let the host access vm.

So try to share wlan, to create an internal switch, hanging on the vm vm, the result ip can not even get. . .

I tried to add a network card to a virtual machine, a manager extra internal switch. But although this switch is displayed on the host, but the host and does not seem to pass.

And added a second graphics card, ip configuration found and before I know linux too different. . Is iproute2, is netplan, also involves routing. .
After completion of address and routing configuration, even outside the network do not pass. . .

For the time being to give up. .

[Update 2/26]: suddenly found directly through the default switch can Unicom vm, vm although still not ping host, but also to meet the needs of such a ~

Guess you like

Origin www.cnblogs.com/mosakashaka/p/12608315.html