For virtual machines, we usually know more is VMware company launched the virtual machine software, or such as VR box software. However, in the Windows 8 era, Microsoft provided users with Hyper-V virtual machine program, today we look at how to play the Windows 8 with the virtual machine.
Installation of 1.hyper-v
By default, WINDOWS8 does not have the Hyper-V component installed and can be installed manually when required. When you install, first open the Programs and Features window in Control Panel and click the "Enable or turn off Windows features" below to turn on Windows features, which lists all of the installation components for Windows. Check the Hyper-V checkbox, and then click OK and the system will be installed step by step.
2. Create a virtual local area network
To allow the virtual machine system to surf through the host, Hyper-V will create virtual machines to simulate a computer and then connect through the created virtual machine switch, so that multiple virtual machines are connected to a virtual LAN by a virtual switch, so that they can share the Internet through virtual switches.
3. Create a Virtual Switch
Let's start by creating a virtual Switch to launch the Hyper-V manager. The program's main interface is divided into three windows, from left to right for the Virtual Machine Manager window, virtual machine details list, and virtual machine setup options.
When you create a virtual machine, in the list on the right, click Virtual Switch Manager, open the Virtual Switch Manager window, click the new virtual Network switch command in the sidebar on the left, select External in the Create Virtual Switch list, and click the Create Virtual Switch button.
In the open Create network Virtual Switch interface, enter the name, description, and so on to create the switch. Select External network in the connection type below and select the network adapter name used by the current computer in the list of external networks below.
Then click OK to create a successful, after the successful creation, in the system's network connection to a more than a "vethernet" network connection, this is the virtual switch we just created the virtual network card.
Right-click the Network connection icon, select Properties from the pop-up right-click menu, and open the NIC Properties dialog box. In the "This link uses the following items" list, select Internet Protocol 4 and select Properties to open the Properties dialog box.
Enter the IP address, subnet mask, gateway, DNS server, and so on for this network card. It is worth mentioning that the IP address of the connection is the same as the host's IP address in the same network segment, the subnet mask, gateway, DNS and the current host of the same, when the settings are complete, click OK.
4. Create a virtual system
First prepare the system installation disk, in the Hyper-V main interface, click the "new" → "virtual machine" command in the right sidebar, and then open the New Virtual Machine Wizard dialog box, click Next, and in name, enter the name of the virtual machine you created. Click the Next button to enter the memory used by the virtual system in the open Allocation memory entry, which is defined by the size of the host's memory.
When selected, go to the Configure network interface and select the virtual switch created in the connection item.
Then click Next to select "Create virtual hard disk" in the Open Connection virtual Hard Disk dialog box, then enter the name of the virtual machine, set the location where the virtual machine is saved, and set the size of the virtual hard disk.
After the setup is complete, go to the "Installation Options" interface, in which we choose the installation of the virtual system, the program supports the CD and the ISO image file installation, we can choose according to the need.
Click the Next button to complete the Create wizard. Once the virtual machine is created, we can install the system for the virtual machine below. When you install, select the virtual machine in the list of virtual machines to click Connect on the right, open the Virtual machine window, click the "Start" button in the toolbar to begin installing the system, and the installation process will not go into detail here.
After the installation is successful, click the connection in the right-hand sidebar to start the system in the virtual machine.
This allows us to successfully create a virtual system with a virtual machine that is brought in by Windows 8. We can then easily share resources through virtual LANs and local computers, and we can test various risky programs on virtual machines.