Installing Xen in CentOS 6 is a little troublesome because the virtualization platform has switched from xen to KVM since CentOS 6, so it is very easy to install KVM in CentOS 6. 1. Install KVMyum groupinstall Virtualization 'virtualization client'
2. The installation api supports yum install lib1_service lib1_d start.
3. verify whether the KVM module is loaded $ lsmod | grep kvmkvmkvm_intel
4. Using virt-manager to install guestvirt-manager is an api gui tool that allows you to conveniently manage virtual machines. The following describes how to use virt-manager to install the Virtual Machine System. 1) Open virt-manager, Add-connection, hypervisor select QEMU/KVM, and click connect. 2) Right-click localhost (QEMU) and choose "NEW", enter the guest name, and select "Installation Method". Here, select "iso File Installation" and click "forword. Www.2cto.com 3) Select the iso file path and click forword. 4) define the number of allocated memory and cpu. 5) define the disk image size. 6) The next step is to install the regular system. 5. Use virt-install to install guest. If your CentOS does not have a desktop environment, you can use the virt-install command to install it, for example: 1. Enter the Virtual Machine name 2. How much memory is allocated 3. Define the Virtual Machine Disk Image Location 4. In this step, you can directly enter the iso location or url5 for general system installation.
Author: Zhu MahaI