Linux-VServer The Best Way to provide Virtual Dedicated Servers on Linux #4

Build a debian virtual server

Install util-vserver and vserver-debiantools

# apt-get install util-vserver vserver-debiantools

Create a new vserver

# newvserver --hostname test --domain example.org --ip x.x.x.x --mirror http://debian.linux.org.tw/debian

Wait for a while, after debootstrap, it will turn into base-config screen, the vserver will be shutdown after you finished all the debconf's dialogs.

Check the server configuration.

# vi /etc/vservers/<name>.conf

Try starting the vserver.

# vserver <name> start

Assuming all went well, enter the vserver

# vserver <name> enter

If something goes wrong, you might want to stop the vserver

# vserver <name> stop
Copyright © 2005 Taiwan Debian Users Group