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 - http://download.openvz.org/openvz.repo

Import the OpenVZ key

rpm –import http://download.openvz.org/RPM-GPG-Key-OpenVZ

Install the OpenVZ kernel

Depending on which kernel arch you want, simply do:

yum install ovzkernel.i386

or

yum install ovzkernel.x86_64

Reference - http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

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.