Difference between revisions of "Quick installation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(installation on existed linux)
m
Line 9: Line 9:
 
=== Virtuozzo bare-metal installation ===
 
=== Virtuozzo bare-metal installation ===
  
: OpenVZ project build special Linux distribution with hypervisor and container virtualization.
+
: OpenVZ project building special Linux distribution with hypervisor and container virtualization.
It consists from [https://www.cloudlinux.com/ Cloud Linux] distribution, [[Download/kernel/rhel7-testing|our custom kernel]], OpenVZ management utilities, [[QEMU]] and installer. It is highly recommended to use OpenVZ containers and virtual machines with this Virtuozzo installation image. See [[Virtuozzo]].  
+
It consists from [https://www.cloudlinux.com/ Cloud Linux] distribution, [[Download/kernel/rhel7-testing|our custom kernel]], OpenVZ management utilities, [[QEMU]] and Virtuozzo installer. It is highly recommended to use OpenVZ containers and virtual machines with this Virtuozzo installation image. See [[Virtuozzo]].
 +
[http://download.openvz.org/virtuozzo/releases/7.0/x86_64/iso/ Download] installation ISO image.
  
 
=== Using OpenVZ on existed Linux distribution ===
 
=== Using OpenVZ on existed Linux distribution ===
Line 16: Line 17:
 
: There is ability to install OpenVZ on installed RPM based Linux distribution. Follow step-by-step instruction below:
 
: There is ability to install OpenVZ on installed RPM based Linux distribution. Follow step-by-step instruction below:
  
* rpm -ihv http://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/virtuozzo-release-7.0.1-1.x86_64.rpm
+
Package ''virtuozzo-release'' will bring meta information and Yum repositories:
* yum install -y prlctl prl-disp-service vzkernel
+
 
 +
  rpm -ihv http://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/virtuozzo-release-7.0.1-1.x86_64.rpm
 +
 
 +
Some Linux distributions (like Fedora) may require to install package ''yum-plugin-priorities'':
 +
 
 +
  yum install yum-plugin-priorities
 +
 
 +
Then perform installation of mandatory Virtuozzo RPM packages:
 +
 
 +
  yum install -y prlctl prl-disp-service vzkernel
  
 
Known issues: {{B|3274}}, {{B|3275}}, {{B|3273}}
 
Known issues: {{B|3274}}, {{B|3275}}, {{B|3273}}

Revision as of 09:58, 1 July 2015

This document briefly describes the steps needed to install OpenVZ on your machine.

There are two ways to get OpenVZ:

Virtuozzo bare-metal installation

OpenVZ project building special Linux distribution with hypervisor and container virtualization.

It consists from Cloud Linux distribution, our custom kernel, OpenVZ management utilities, QEMU and Virtuozzo installer. It is highly recommended to use OpenVZ containers and virtual machines with this Virtuozzo installation image. See Virtuozzo. Download installation ISO image.

Using OpenVZ on existed Linux distribution

There is ability to install OpenVZ on installed RPM based Linux distribution. Follow step-by-step instruction below:

Package virtuozzo-release will bring meta information and Yum repositories:

  rpm -ihv http://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/virtuozzo-release-7.0.1-1.x86_64.rpm

Some Linux distributions (like Fedora) may require to install package yum-plugin-priorities:

  yum install yum-plugin-priorities

Then perform installation of mandatory Virtuozzo RPM packages:

  yum install -y prlctl prl-disp-service vzkernel

Known issues: #3274, #3275, #3273

OpenVZ with upstream Linux kernel

There is ability to use OpenVZ containers in vanilla kernel. But there some disadvantages:
  • Some required changes may be absent in Linux kernel on your machine. Our Virtuozzo distribution based on Cloud Linux and we strongly recommend to use it if you don't want to install Virtuozzo Linux distribution for some reasons. Cloud Linux kernel contains some important changes absent in another kernels (even RHEL kernels).
  • It is required to create separate partition mounted to /vz.

See OpenVZ with upstream kernel.

Using OpenVZ

OpenVZ is now set up on your machine. Follow on to basic operations in OpenVZ environment document.

See also