Step by step to teach you to install VMware virtual machine

  

VMware Workstation virtual machine is an application running on a Windows or Linux computer, it can simulate a standard x86-based PC environment. This environment, like a real computer, has a chipset, CPU, memory, graphics card, sound card, network card, floppy drive, hard drive, optical drive, serial port, parallel port, USB controller, SCSI controller, etc. The window that provides this application is The display of the virtual machine.

In terms of use, this virtual machine is not much different from a real physical host. It needs to partition, format, install the operating system, install applications and software. In short, everything is done with one. The real computer is the same.

Below, please follow our introduction, step by step, install a virtual machine that you can operate.

Build a Virtual Machine

The following is an example of how to create a virtual machine using VMware Workstation.

1. Run VMware Workstation 6. Click the “File→New→Virtual Machine” command to enter the Create Virtual Machine Wizard, or directly press the “Crtl+N” shortcut to enter the Create Virtual Machine Wizard.

2. Click the "Next" button in the pop-up welcome page.

3. Select the "Custom" radio button in the "Virtual machine configuration" option area.

4. In the Choose the Virtual Machine Hardware Compatibility page, select the hardware format of the virtual machine, which can be found in the Hardware compatibility drop-down list box between VMware Workstation 6, VMware Workstation 5 or VMware Workstation 4. Make a selection. The Workstation 6 format is usually chosen because the new virtual machine hardware format supports more features. After selecting it, click the "Next" button.

5. In the Select a Guest Operating System dialog box, select the type of virtual machine to be created and the operating system to run. Select the Windows 2000 Professional operating system and click the "Next" button.

6. In the Name the Virtual Machine dialog, name the newly created virtual machine and select its save path.

7. In the Processors option area, select the number of CPUs in the virtual machine. If you select Two, the host needs to have two CPUs or a hyper-threaded CPU.

8. In the Memory for the Virtual Machine page, set the memory used by the virtual machine. Normally, 64MB can be set for Windows 98 and below; for Windows 2000/XP, at least can be set. 96MB; for Windows 2003, the minimum is 128MB; for Windows Vista virtual machine, the minimum is 512MB.

9. Select the "Networking Type" of the virtual machine NIC in the Network Type page.

Select the first item and use the bridge NIC (VMnet0 virtual NIC) to indicate the current virtual machine and host. The computer running the VMware Workstation software is on the same network.

Select the second item and use the NAT network card (VMnet8 virtual network card) to indicate that the virtual machine accesses the host and the network outside the host through the host. The computer in the network other than the host cannot access the virtual machine. .

Select the third item and use only the local network (VMnet1 virtual NIC), which means that the virtual machine can only access the host and all virtual machines that use the VMnet1 virtual NIC. A computer in a network other than the host cannot access the virtual machine or be accessed by the virtual machine.

Select the fourth item, there is no network connection, indicating that the virtual machine has no network connection with the host.

10. In the Select I/O Adapter Type page, select the model number of the virtual machine's SCSI card, usually select the default value.

11. On the Select a Disk page, select Create a new virtual disk.

12. In the Select a Disk Type page, select the interface mode of the created virtual hard disk, usually choose the default value.

13. Set the virtual disk size in the Specify Disk Capacity page. For normal use, select the default value.

14. Set the virtual disk file name in the Disk file option area of ​​the Specify Disk File page. Usually select the default value and click the Finish button.

Installing the operating system

Installing the operating system in the virtual machine is no different from installing it on a real computer, but installing the operating system in the virtual machine can be saved directly on the host. The installation CD image (or floppy disk image) is used as the virtual machine's CD drive (or floppy drive).

You can open the Windows 2000 virtual machine configuration file created in the previous section. In the Hardware tab of the Virtual Machine Settings page, select the CD-ROM item and select the Use ISO image radio button in the Connection option area. Then browse to select the Windows 2000 installation CD image file (ISO format). If you are using an installation CD, select Use physical drive and select the CD-ROM drive where the installation CD is located.

After selecting the CD-ROM drive, click the play button on the toolbar to power on the virtual machine and click the mouse in the virtual machine work window to enter the virtual machine.

Installing the operating system in the virtual machine in the future is the same as installing it in the host, and will not be introduced here.

[Description] If you want to switch back to the host from the virtual machine window, you need to press the Ctrl+Alt hotkey.

Installing VMware Tools

After installing the operating system in the virtual machine, you need to install VMware Tools. VMware Tools is equivalent to the motherboard virtual machine chipset driver and graphics driver and mouse driver of VMware virtual machine. After installing VMware Tools, it can greatly improve the performance of the virtual machine, and can set the virtual machine resolution to any size, and can also be used. The mouse is directly switched from the virtual machine window to the host.

1. Select Install VMware Tools from the VM menu.

2. Follow the prompts to install, and finally restart the virtual machine.

Virtual Machine Snapshots

If you want to save the state of a virtual machine, you can use the snapshot feature. You can click the Snapshot button on the toolbar, or click VM→Snapshot→Snapshot Manager, or press Ctrl+M to enter the Snapshot Manager and click the Take Snapshot button to create a snapshot, as shown in Figure 2. Since the snapshot is created, it can be returned to the snapshot state from other states at any time. Therefore, when performing an installation or configuration test, you can create a snapshot at a critical location, and when the installation or test fails, you can quickly return to the snapshot, or start a new test or experiment from the snapshot.

Once the snapshot is created, you can select the snapshot and click the go to button to return to the snapshot point.

[Description] In a virtual machine, you can create any number of snapshots without restriction, but it is limited by the remaining space of the partition where the virtual machine is located. Therefore, if you create multiple snapshots, you should have enough hard disk space.

Virtual Machine Cloning

You can click on the clone button from a snapshot point or from the current state (that is, after you have not created a snapshot or created a snapshot and then performed some operations). Clone the dialog. Cloning is undoubtedly the quickest and most effective way to save current system state or to do comparative experiments.

1. In the Clone Source page, select the An existing snapshot (powered off only) radio button and select the snapshot point you have created in its drop-down list box.

2. On the Clone Type page, click Create a linked clone. If you choose the second item Create a full clone, create a complete clone. The two differences are that the virtual machine created by the first item will depend on the existence of the source virtual machine, and the virtual machine created by this will occupy less hard disk space; the virtual machine created by the second item is a separate virtual machine. But it takes up more hard disk space.

3. In the Name of the New Virtual Machine page, set the name of the cloned virtual machine and modify the save path.

4. In the Cloning Virtual Machine page, when the clone is complete, click the Close button.

5. After the clone is completed, return to the snapshot manager, you can see the snapshot of the clone link point plus the lock icon, indicating that the current snapshot has been locked and cannot be deleted, then click the Close button to complete the cloning function. .

Advantages of Virtual Machines

Compared with real PCs, virtual machines have many advantages:

You can test various operating systems and virtual machines in a virtual machine. Application software, you don't have to install new systems frequently for testing software, you don't have to worry about the data on your computer when testing system software. Experimenting in a virtual machine, everything is real, and experimenting with real computers, the effect is exactly the same.

You can do various network experiments and network tests, as well as some tests of viruses and hackers, without worrying about the real network environment.

Programmers can easily test programs in multiple environments and multiple systems.

Network traders can use virtual machines to create dedicated virtual machines for online transactions. Only when running virtual machines during transactions, and this virtual machine does not use other purposes, this can greatly improve the account. safety.

Copyright © Windows knowledge All Rights Reserved