xen_explanation.md

https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide

  • /etc/rinse/rinse.conf

    1
    xen-create-image --hostname centos6 --dhcp --memory 1024mb --vcpus 2 --pygrub --install-method rinse --dist centos-6
  • /etc/xen-tools/xen-tools.conf

    1
    xen-create-image --hostname debian-stable --dhcp --memory 1024mb --vcpus 2 --pygrub --install-method debootstrap --dist stable
1
dd if=/dev/zero of=data/t1.img bs=1M count=20480
  • t1.cfg
    1
    2
    3
    4
    5
    6
    7
    8
    9
    name = 't1'
    builder = 'hvm'
    memory = 1024
    vcpus = 2
    disk = [ 'phy:/home/xen/data/t1.img,xvda,w', 'file:/home/xen/CentOS-6.9-x86_64-minimal.iso,hdc:cdrom,r' ]
    vif = [ 'mac=00:16:3e:03:03:03,bridge=xen0' ]
    vnc = 1
    vnclisten = '0.0.0.0'
    vncdisplay = 1