This article mainly talks about some common basic operations of the virtual machine software. Some very useful ones are not mentioned, you can explore by yourself.
Purpose: Familiarize yourself with virtual machines and understand common operations.
Reason: Unfamiliar with some operations of this virtual machine. Then it may be more troublesome in the process of doing experiments later.
content
1. Documents
Commonly used in "File" are "New Virtual Machine", "Open", "Scan Virtual Machine".
1.1 Create a new virtual machine
Function: Create a new virtual machine.
After clicking, the following page will appear:
1.2 Open
Function: Open an established virtual machine
Some virtual machines already exist, but the sidebar "My Computer" is not displayed. We can find the file with the suffix vmx to open it.
For example:
after we right-click on a virtual machine in the sidebar "My Computer" and perform the "Remove" operation, the virtual machine will not appear in this software. In fact, as long as the file exists, the virtual machine will not be displayed. It exists, we can find the file and open it again.
Use the "Open" function to perform the operation as shown below:
After we open it, the virtual machine will appear in the sidebar "My Computer".
Note: When you create a new virtual machine, you must specify this location and specify the working directory of your virtual machine, so that we can quickly know how to add, delete, and open virtual machine files. Various virtual machines are placed in the same folder.
1.3 Scan the virtual machine
Function: Scan a folder and add the virtual machines under the folder to the sidebar.
2. Edit
Then let's take a look at editing, and then editing is actually mainly talking about a virtual network editor, a virtual network editor. Then there is the preference option. If the content in the preference option is used, we generally use it relatively less.
So what is this virtual network editor here? Just tell everyone.
2.2 Virtual Network Editor
This VMnet8 is generally in NAT mode.
So here I can first tell you about bridge mode and NAT mode, these two modes can make your virtual and direct access to the Internet, so we can simply take a look.
For example: right click my virtual machine and set it to nat.
Then we go to the Internet to see if we can access it. There is still an exclamation mark here.
Then maybe we need to configure the IP address to obtain it automatically. Configure the IP address to be obtained automatically, and now we see that the exclamation mark is gone, and then we go to Baidu to see if we can access the Internet.
Then let's see that we can see that we can already access the Internet here. We have reached this interface and a page can be displayed to indicate that we can access the Internet.
The Chinese name of NAT is Network Address Translation.
Network address translation is to convert your physical address through a network address translation, and then go to the Internet through the physical address.
In the case of bridging, it is directly connected to the external network by the virtual machine, and the external network directly connected to us is directly connected to the external network.
So what about the host-only mode. It is mainly to connect virtual machines within a private network. That is to say, it is a separate network. It can only communicate with hosts in this network's own network.
That is to say, I opened two virtual machines at this time, and both virtual machines are VMnet1. The two virtual machines can be interconnected and can access each other.
3. View
3.1 Full screen
Function: Enter full screen mode
4 virtual machines
4.1 Power
4.1.1 Suspend the computer
The next time I turn it on again, I don't have to restart it and wait for that startup time. Immediately it will resume to the state you were previously suspended from.
4.2 Removable Devices
Here is a simple demonstration with a U disk. Insert a U disk on the physical machine, and insert a U disk.
A new USB device is detected. Do you want to connect this USB device to your host computer or to a virtual machine? If you connect to a virtual machine, which one do you want to connect to start the virtual machine? We only have one of these at the moment. Then if it says connect to the host, I click ok. Then my U disk is displayed on my physical machine. We can see that this computer is on my physical machine.
If I now want to connect my U disk directly to the virtual machine, what should I do? Click the virtual machine directly, then there is a removable device, and then my U disk, my U disk is the Kingston 3.0 U disk, and then connect directly
4.3 Snapshots
There are two types of snapshots, one is the shutdown snapshot and the other is the startup snapshot. Boot snapshots consume a lot of disk space.
When taking a snapshot, you can write some notes, username, password, etc.
Restoring a snapshot will result in the loss of the existing virtual machine data.
4.4 Management
4.4.1 Cloning
Function: Make a complete copy of the current thing, that is, clone
Requirement: Cannot create clones of virtual machines or snapshots that are powered on or suspended, must be powered off.
4.5 Install VMware Tools
Function: After installation, physical machine and virtual machine can copy files to each other
Installation method:
Open the virtual machine, click "Install VMware Tools", and then follow the steps shown in the figure below to install it.
5. Tabs
Function: switch pages
6. Switching between physical machines and virtual machines
Switch to physical machine: ctrl + alt key
Switch to virtual machine: mouse click or ctrl + g