Install xen Virtual Machine in centos

Source: Internet
Author: User

The tutorials on the Internet are messy, and they are a huge copy of the world. The reposted tutorials have never been tried.
Because the cpu Of this server does not support VT (full virtualization), semi-virtualization is used for installation. The requirement for semi-virtualization installation is that domain0 and domainu have the same kernel, or even
The row version should be the same. It seems that there are hvm installation methods to install different releases on the Internet, but I have not tried it. This section describes how to install centos of the same release version in semi-virtualization.

# Yum install xen kernel-xen

Install xen and kernel-xen

Does the semi-virtualization installation support optical drive installation? (It seems that I have not tried it .)
Images with centos
Create an HTTP server.
Ligttpd is used, which is omitted here.
Place centos5.2.iso in the HTTP root directory
Create a directory A under the HTTP root directory
Mount the ISO file to directory.
Mount-T iso9660 centos5.2.iso./A-o loop
You can see the content in centos5.2.iso in directory.
Do not forget to start Lighttpd

Install the First Virtual Machine
Virt-install-N centosa-r 256-F/Vm/centos1.img -- nographics -- vcpus 2-l http: // 127.0.0.1//

It will prompt how much space (GB) is used for centos1.img: 5

Next, you can see the familiar installation page.

Note: during the installation process, you will be prompted to install the source, select HTTP, the IP address cannot be 127.0.0.1, but the actual lan ip address (or public ip ).

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.