Register now and start sharing your code snippets.
-->

Quick step by step on creating a xen environment in Debian Etch

Shell Script (Bash) posted about 1 year ago by marko

Jumpstart with Xen out-of-the-box in Debian Etch stable.

   1  sudo apt-get install xen-tools xen-hypervisor linux-image-xen-amd64 bridge-utils iproute sysfsutils
   2  # [reboot into xen kernel now]
   3  sudo xen-create-image --hostname=db2.aktagon.com \
   4  --size=10Gb --swap=256Mb --ip=10.0.0.51 \
   5  --netmask=255.255.255.0 --gateway=10.0.0.2 \
   6  --force --dir=/work/vserver --memory=512Mb \
   7  --arch=i386 --kernel=/boot/vmlinuz-2.6.18-5-xen-amd64 \
   8  --debootstrap --dist=etch \
   9  --mirror=http://ftp.funet.fi/pub/linux/mirrors/debian/ \
  10  --passwd
  11  sudo xm create /etc/xen/db1.aktagon.com.cfg

Tagged xen, debian, etch, stable, virtualisointi, virtualisering