Cloud security technology——Hyper-V virtualization technology

Table of contents

5-1 Understanding Hyper-V

5-2 Install Hyper-V

5-3 Create a virtual machine


 

 Understand the concept of Windows virtualization

 Understand the background and development of Hyper-V

 Learn about the features of Hyper-V

 Understand the architecture of Hyper-V

 Can describe the functional characteristics of Hyper-V

 Can deploy Hyper-V under Windows 2012 R2 system

 Can use Hyper-V to create virtual machines

 Can use Hyper-V to manage virtual machines 

Windows Server 2012 R2

Windows 7

5-1 Understanding Hyper-V

Hyper-V virtualization platform is a new generation of virtual machine software launched by Microsoft after VPC. Its design is completely different from VPC. It is based on the design concept of cloud computing and has more powerful functions. When the new Windows Server 2012 cloud operating system was released, it included the free version of the Hyper-V virtualization platform function - Window Hyper-V Server 2012. Hyper-V Server 2012 is a functional component of Windows Server 2012, which can provide the basic functions of the virtualization platform and enable users to migrate servers to the cloud.

5-2 Install Hyper-V

  1. After logging in to the system, open the "Start" menu on the Windows Server 2012 desktop, and click the "Server Manager" icon, as shown in the figure below:

  1. Click the "Server Manager" icon to open the main window of Server Manager, and then click "Add Roles and Features" to start the Add Role Wizard, as shown in the following figure:

  1. On the "Before You Begin" interface of the Add Role Wizard, please confirm the following: whether the administrator account password is a strong password, whether the network card has been set with a static IP address, and whether Windows Update has been updated. After confirming that it is correct, click the "Next" button, as shown in the figure below:

  1. On the "Select Installation Type" interface, select the "Role-based or feature-based installation" radio button, and then click the "Next" button, as shown in the following figure:

  1. On the "Select Target Server" interface, click the server to be installed, and then click the "Next" button, as shown in the figure below:

  1. On the "Select Server Role" interface, select the server role Hyper-V, and then click the "Next" button, as shown in the following figure:

Question: If the error message shown in the figure below appears here, you need to do the following checks

Solution:

One is to check whether the CPU virtualization function is enabled;

The second is to find the VMX file of Windows Server in the virtual machine installation directory, open it with Notepad, add the following code at the end, and restart the virtual machine

hypervisor.cpuid.v0 = "FALSE"

mce.enable = "TRUE"

  1. On the Hyper-V introduction interface, "Notes" includes two items, click the "Next" button, as shown in the following figure:

  1. On the "Create Virtual Switch" interface, use the network card integrated on the motherboard to create the first group of virtual networks, and click the "Next" button, as shown in the figure below:

  1. On the "Virtual Machine Migration" interface, use the default options and click the "Next" button, as shown in the following figure:

  1. On the "Default Storage" interface, use the default options and click the "Next" button, as shown in the figure below:

  1. On the "Confirm installation selection" interface, you can check that the installation role is Hyper-V, click the "Install" button, as shown in the following figure:

  1. In the "Installation Progress" interface, the current installation progress of the Hyper-V service is displayed. After the first stage of installation, the system needs to be restarted, click the "Close" button, as shown in the following figure:

  1. Click the "Start" button on the desktop and choose to restart the system. After restarting the system, HyperV will automatically continue to install. Click the "Start" button, and then click "Server Manager", you can see that the HyperV service has been successfully installed on the manager interface, as shown in the following figure:

5-3 Create a virtual machine

  1. Before deploying the virtual machine, first prepare the Windows 7 image file ISO. The image file can be directly uploaded to the Windows 2012 operating system of the virtual machine through the tool, or the ISO image file can be directly mounted to the CD-ROM of the virtual machine.
  2. Open Hyper-V Manager, click the "Start" button on the desktop of the Windows 2012 system, open "Server Manager" - "Hyper-V Manager", and start Hyper-V Manager, as shown in the following figure:

  1. Right-click on the server name on the main interface of the manager, select the "New" command, and enter the new virtual machine wizard as shown in the figure below. If you click the "Finish" button in the "Before You Begin" interface of the new virtual machine wizard, the virtual machine will be created with the confirmed settings. Here, the parameters of each step are defined in a custom way. So you need to click the "Next" button.

  1. In the "Specify name and location" interface, you can specify the name of the virtual machine, and specify the location (the folder where it is sent), and then click the "Next" button, as shown in the following figure:

  1. In the "Specify Generation" interface, you can specify whether the created virtual machine is the first generation or the second generation. If it needs to be consistent with the previous virtual machine, select the powerful first generation and click the "Next" button, as shown in the figure below:

  1. In the "Allocate memory" interface, you can specify 32MB to 61404MB of memory, but you need to consider the size of the physical memory and actual needs, here you can fill in 512 , click the "Next" button, as shown in the figure below:

  1. On the "Configure Network" interface, you can specify which virtual network to connect to. If you have not set up a dedicated virtual network, you can select the "Not Connected" option in the "Connection" drop-down list box, and then set it up after creating the virtual machine. Click the "Next" button, as shown in the figure below:

  1. In the "Connect Virtual Hard Disk" interface, you can specify the storage space, or modify the properties of the virtual machine to configure the storage space, and click the "Next" button.

  1. Click the "Browse" button on the "Installation Options" interface, select the prepared CD image file cn_win7_x64.iso, click the "Next" button, or select "Install the operating system later", as shown in the following figure:

  1. On the "Summary" interface, display the basic information of the virtual machine to be created, confirm that the virtual machine is to be created, and click the "Finish" button to start installing the virtual machine, as shown in the following figure:

  1. At this time, a new virtual machine appears in the virtual machine column in the middle of the manager window, named Win7, which is a successfully installed virtual machine, as shown in the following figure:

  1. Start the Windows 7 system and install it. The detailed steps are shown in the figure below:

                      For specific documents, please refer to the link below:

https://download.csdn.net/download/qq_53142796/87949422icon-default.png?t=N5K3https://download.csdn.net/download/qq_53142796/87949422

Guess you like

Origin blog.csdn.net/qq_53142796/article/details/131390299