Installing OpenVZ

OpenVZ is operating system-level virtualization based on a modified Linux kernel that allows a physical server to run multiple isolated instances known as containers, virtual private servers (VPS), or virtual environments (VE).

Installing OpenVZ on a CentOS 4 or CentOS 5

Download -

Import the OpenVZ key

rpm –import

Install the OpenVZ kernel

Depending on which kernel arch you want, simply do:

yum install ovzkernel.i386


yum install ovzkernel.x86_64

Reference -

1) Examine /etc/grub.conf to ensure the desired kernel is set to be the default,

2) Edit the /etc/sysctl.conf to enable some kernel features that are needed for OpenVZ and

3) Make sure SELINUX is disabled.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.