Linux-VServer International Conference on Open Source #7

Building a complete system

Create a new vserver

Here shows you how to use the official util-vserver tools to create a new vserver.

This demo uses vserver build method for debian.

These packages are useful in a vserver.

# REMOVE_PACKAGES="sparc-utils,dhcp-client,lilo,makedev,pcmcia-cs,ppp,\
pppconfig,pppoe,pppoeconf,setserial,syslinux,fdutils,libpcap0.7,iptables,\
ipchains,pciutils" 

Use vserver build method for debian.

# vserver test build -m debootstrap --hostname test --interface \
eth0:192.168.0.1 -- -d sarge -- --exclude=$REMOVE_PACKAGES  

Other build methods: also methods for other minor distributions, but what a waste of time!

Copyright © 2005 Taiwan Debian Users Group