Win8 comes with a virtual machine using the tutorial detailed

  

For virtual machines, we usually know more about VMware's virtual machine software, or software such as Virtual Box. However, in the Windows 8 era, Microsoft provided the Hyper-V virtual machine program to users. Today we will take a look at how to play this Windows 8 native virtual machine.

1.Hyper-V Installation

By default, Windows 8 does not have Hyper-V components installed, and can be installed manually if needed. When installing, first open the "Programs and Features" window in the "Control Panel", click on the following "Enable or disable Windows function", open "ldquo; Windows function", list all Windows here Installed components. Check the “Hyper- V” checkbox, then click “OK>, the system will install step by step.

2.Create a virtual LAN

In order to allow the virtual machine system to access the Internet through the host, Hyper-V will create a virtual machine to be simulated into a computer, and then connect through the created virtual machine switch. In this way, multiple virtual machines are connected to the host through a virtual switch to form a virtual local area network, so that the virtual switch can share the Internet.

3.Create a virtual switch

Let's create a virtual switch and start the “Hyper-V Manager”. The main interface of the program is divided into three windows, from left to right, the virtual machine manager window, the virtual machine detailed information list, and the virtual machine setting options.

When creating a virtual machine, click the “Virtual Switch Manager” command in the list on the right to open the “Virtual Switch Manager” window. Click on the left sidebar and click “New”. The virtual network switch" command, select "External" in the "Create Virtual Switch" list, and click the "Create Virtual Switch" button.

In the “Create Network Virtual Switch” interface, enter the name and description of the created switch. In the following "Connection Type", select "External Network" and select the name of the network card used by the current computer in the list of external networks below.

Then click "OK" to create a success. After the creation is successful, a network connection named "vEthernet" will be added to the system's network connection. This is the virtual switch we just created. Virtual network card.

Right-click the network connection icon and select “Properties" from the context menu that pops up to open the NIC Properties dialog box. In the "This link uses the following items" list, select "Internet Protocol 4" and select the "Properties" command to open the "Properties" dialog box.

Enter the IP address, subnet mask, gateway, DNS server and other information of the network card here. It is worth mentioning that the IP address of the connection should be on the same network segment as the IP address of the host. The subnet mask, gateway, DNS and current host are the same. After the setting is completed, click “OK> ;

4.Create a virtual system

First prepare the system installation disk, put the system installation disk into the CD-ROM drive, click “New” in the right sidebar of Hyper-V main interface. → & ldquo; virtual machine & rdquo; command, open the "New Virtual Machine Wizard" dialog box, click the "Next" button, enter the name of the created virtual machine in the "name". Click the “Next” button to enter the memory used by the virtual system in the open allocated memory item, which is defined by the size of the host memory.

After selecting, go to the “Configure Network” interface and select the “Virtual Switch” created in the “Connections” section.

Then click the “Next” button, in the “Connect Virtual Hard Disk” dialog box, click “Create Virtual Hard Disk”, then enter the virtual machine name and set the virtual machine. Save the location and set the size of the virtual hard disk.

After the setting is completed, go to the “Installation Options” interface. In this interface, we choose the installation method of the virtual system, the program support CD and ISO image file installation, we can choose according to the needs.

Click the “Next” button to complete the creation wizard. After the virtual machine is created, we can install the system for the virtual machine. During installation, select the virtual machine in the list of virtual machines and click “Connection” on the right to open the virtual machine window. Click the “Start” button in the toolbar to start the system installation. The installation process will not be described here.

After the installation is successful, click the connection in the right sidebar to start the system in the virtual machine.

This way we have successfully created a virtual system using the virtual machine that comes with Windows 8. In the future, we can easily share resources with virtual local area networks and local computers, as well as test various risky programs on virtual machines.

Copyright © Windows knowledge All Rights Reserved