Analysis on installation and configuration of KVM in CentOS 6

Source: Internet
Author: User


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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.