Xen Virtual Machine installation practices

Source: Internet
Author: User

Xen Virtual Machine installation practices
The installation of xen virtual machine environment took two days to explore and finally came out to share with you. 1. Install the host environment. I use Centos6.3. 2. Install xend. Refer to a foreign Article, which is relatively smooth. Address: http://xen.crc.id.au/support/guides/install/ 2.1. yum install bridge-utils2.2.yum install http://au1.mirror.crc.id.au/repo/el6/x86_64/kernel-xen-release-6-5.noarch.rpm2.3.yum Install kernel-xen xen2.4.vi/etc/sysconfig/selinux. modify this line of SELINUX = disabled 2.5.reboot xm info. If it is easy to use, congratulations, it's almost the same. 3. You cannot directly use the iso file when installing the virtual system. You must mount the file to an optical drive and support access in http or nfs format. It seems that you cannot use a local directory. I installed httpd on the host machine and mounted the optical drive to the http and directory. the file cannot be found in other directories. We recommend that you directly mount the root partition. Mount-o loop-t iso9660/data7/CentOS-6.3-x86_64-bin-DVD1.iso/var/www/html dd if =/dev/zero of = vm00.img bs = 1 k seek = 30720 k count = 1 create hard disk /usr/sbin/virt-install -- paravirt -- file =/data/vm/vm00.img -- name = vm00 -- ram = 1024 -- vcpus = 1 -- bridge = eth0 -- nographics -- location = /var/www/html there will be an installation interface after execution, you can enter the installation media, select the url, and enter http://192.168.1.185/ After the installation is complete, reboot 4. VM management xm list display VM list xm start vm00 boot xm console vm00 enter VM command line environment xm delete vm01 delete VM xm shutdown vm00 shutdown 5. Clone VM virt- clone-o vm00-n vm01-f vm01 can be used to clone multiple, after cloning the file, you can use 4th commands to manage the file.

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.