Installation on Debian: Difference between revisions

From Linix VServer
Jump to navigationJump to search
No edit summary
 
Line 16: Line 16:
== Virtual machine operation ==
== Virtual machine operation ==
To start VM just created, run
To start VM just created, run
<pre>vserver example start</pre>
<pre>vserver sample start</pre>
To get into it, type
To get into it, type
<pre>vserver example enter</pre>
<pre>vserver sample enter</pre>
Again, study man for more information.
Again, study man for more information.

Revision as of 13:36, 10 December 2006

This guide is written against Debian Etch (4.0). This release includes kernel linux-image-vserver-686, so no manual patching is needed. The consequence is pretty easy and satrightforward.

Packages installation

All the packages you need can be obtained via

apt-get install linux-image-vserver-686 util-vserver vserver-debiantools ssh

so run this as root and reboot. To check out wherever everything went fine you may run

uname -r

and check that kernel version is something like 2.6.17-2-vserver-686. That's it. Now let's create a virtual machine.

Virtual machine creation

newvserver --vsroot /var/lib/vservers/ --hostname sample --domain example.com --ip 10.1.1.1/8 --dist etch --mirror http://ftp.debian.org/debian/ --interface eth1

Check vserver --help for more info on this.

Virtual machine operation

To start VM just created, run

vserver sample start

To get into it, type

vserver sample enter

Again, study man for more information.