FreeSysAdmin.org
Virtual Machines: Linux-VServer
Not logged in

Virtual Machines | Virtual Machines: QEMU | Virtual Machines: Linux-VServer | Virtual Machines: Use Cases


Setup of Linux-VServer virtual machines

Guest Creation

  1. Create a QEMU Virtual Machine? for the Operating System in question; boot into that virtual machine

Debian Etch

apt-get install linux-image-vserver-686 util-vserver vserver-debiantools
apt-get install linux-image-vserver-amd64 util-vserver vserver-debiantools
i386: vi /boot/grub/menu.lst ; put vserver first; update-grub; shutdown -r now
amd64: lilo; shutdown -r now
dpkg-reconfigure util-vserver vserver-debiantools

Fedora 7

qemu-img convert foo.qcow -O raw foo.raw
mount -o loop,offset=32256 foo.raw /mnt/point
mkdir /var/lib/vservers/foo
rsync -a /mnt/point /var/lib/vservers/foo

Packages

Debian Etch

apt-get remove --purge ntp ntpdate

apt-get update
apt-get dist-upgrade
apt-get install screen ssh lftp lynx subversion wget
apt-get clean

Fedora 7

Configuration

Debian Etch

Fedora 7

Last Steps

Discussion


Daniel Joseph Barnhart Clark is a supporter of Free Software Activism and the evolution of System Administration as a profession. As a hobby he maintains OpenSysAdmin.com and works on interesting Sys Admin problems; by day he is the System Administrator for One Laptop per Child. He encourages everyone to obtain low-cost (think monthly) warm fuzzies by becoming a member of the Free Software Foundation.