Linux Today: Linux News On Internet Time.

Installing And Using OpenVZ On Debian Lenny (AMD64)

Mar 05, 2009, 07:33 (0 Talkback[s])
(Other stories by Falko Timme)

[ Thanks to Falko Timme for this link. ]

"3 Using OpenVZ

"Before we can create virtual machines with OpenVZ, we need to have a template for the distribution that we want to use in the virtual machines in the /var/lib/vz/template/cache directory. The virtual machines will be created from that template.


"apt-cache search openvz

"In the output you should see some Debian templates, e.g.:

"vzctl-ostmpl-debian-4.0-amd64-minimal - OpenVZ - OS Template debian-4.0-amd64-minimal
vzctl-ostmpl-debian-4.0-i386-minimal - OpenVZ - OS Template debian-4.0-i386-minimal
vzctl-ostmpl-debian-5.0-amd64-minimal - OpenVZ - OS Template debian-5.0-amd64-minimal
vzctl-ostmpl-debian-5.0-i386-minimal - OpenVZ - OS Template debian-5.0-i386-minimal

"Pick the templates that you need and install them as follows (the amd64 templates are not available on an i386 host):

"apt-get install vzctl-ostmpl-debian-5.0-amd64-minimal vzctl-ostmpl-debian-4.0-amd64-minimal"

Complete Story

Related Stories: