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 ).