Difference between revisions of "Quick installation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(removed stub)
((mostly) English fixes)
Line 3: Line 3:
 
This document briefly describes the steps needed to install OpenVZ on your machine.
 
This document briefly describes the steps needed to install OpenVZ on your machine.
  
There are two ways to get OpenVZ:
+
There are a few ways to get OpenVZ:
  
 
=== Virtuozzo bare-metal installation ===
 
=== Virtuozzo bare-metal installation ===
  
: OpenVZ project building special Linux distribution with hypervisor and container virtualization.
+
: OpenVZ project builds its own Linux distribution with both 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 Virtuozzo installer. It is highly recommended to use OpenVZ containers and virtual machines with this Virtuozzo installation image. See [[Virtuozzo]].
+
It is based on [https://www.cloudlinux.com/ CloudLinux] distribution, with the additions of [[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.
 
[http://download.openvz.org/virtuozzo/releases/7.0/x86_64/iso/ Download] installation ISO image.
  
=== Using OpenVZ on existed Linux distribution ===
+
=== Using pre-installed Linux distribution ===
  
: There is ability to install OpenVZ on installed RPM based Linux distribution. Follow step-by-step instruction below:
+
: Alternatively, one can install OpenVZ on a pre-installed RPM based Linux distribution. Follow step-by-step instruction below:
  
 
Package ''virtuozzo-release'' will bring meta information and Yum repositories:
 
Package ''virtuozzo-release'' will bring meta information and Yum repositories:
Line 23: Line 23:
 
   yum install yum-plugin-priorities
 
   yum install yum-plugin-priorities
  
Then perform installation of mandatory Virtuozzo RPM packages:
+
Then install mandatory Virtuozzo RPM packages:
  
 
   yum install -y prlctl prl-disp-service vzkernel
 
   yum install -y prlctl prl-disp-service vzkernel
  
Known issues: {{B|3274}}, {{B|3275}}, {{B|3273}}
+
Known issues: {{B|3274}}, {{B|3275}}, {{B|3273}}.
  
 
=== OpenVZ with upstream Linux kernel ===
 
=== OpenVZ with upstream Linux kernel ===
  
: There is ability to use OpenVZ containers in vanilla kernel. But there some disadvantages:
+
: One can use OpenVZ containers with vanilla kernel, albeit with some limitations:
  
 
* 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).
 
* 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.
+
* It is required to create a separate partition and mount it to /vz.
  
 
See [[OpenVZ with upstream kernel]].  
 
See [[OpenVZ with upstream kernel]].  

Revision as of 19:00, 1 July 2015

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

There are a few ways to get OpenVZ:

Virtuozzo bare-metal installation

OpenVZ project builds its own Linux distribution with both hypervisor and container virtualization.

It is based on CloudLinux distribution, with the additions of 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 pre-installed Linux distribution

Alternatively, one can install OpenVZ on a pre-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 install mandatory Virtuozzo RPM packages:

  yum install -y prlctl prl-disp-service vzkernel

Known issues: #3274, #3275, #3273.

OpenVZ with upstream Linux kernel

One can use OpenVZ containers with vanilla kernel, albeit with some limitations:
  • 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 a separate partition and mount it 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