Sunday, November 28, 2010

Debian Lenny Xen Setup (Guest Domain)

xen-create-image --ip=192.168.25.81 --hostname=greenbox --role udev --debootstrap
xen-create-image --ip=192.168.25.82 --hostname=yellowbox --role udev --debootstrap

xm create -c /etc/xen/greenbox.cfg
xm create -c /etc/xen/yellowbox.cfg

reboot (not neccesary, but I dig it)

After a fairly lengthy reboot process you should have machines on .80, .81, and .82 all running.

Inside the VMs

aptitude install -R avahi-daemon
adduser awesomeusername

You can now ssh greenbox.local and use an account that isn't root.

Check this link if you want to setup a LAMP server.
Check this link if you want to setup a TomCat server.

No comments:

Post a Comment