Installing And Using OpenVZ On Debian Lenny (AMD64)

Written By
FT
Falko Timme
Mar 5, 2009

[ 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.

“Run

“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

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.