Difference between revisions of "Quick installation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(No time to add description for each command in vz, so set a link to screencasts)
(mention installation to Azure and AWS EC2)
Line 9: Line 9:
 
=== Bare-metal installation ===
 
=== Bare-metal installation ===
  
: OpenVZ project builds its own Linux distribution with both hypervisor and container virtualization.
+
OpenVZ project builds its own Linux distribution with both hypervisor and container virtualization.
 
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]].
 
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 Virtuozzo in the Amazon EC2 ===
 +
 +
Follow steps in [[Using Virtuozzo in the Amazon EC2]].
 +
 +
=== Using Virtuozzo in the Microsoft Azure ===
 +
 +
Follow steps in article [[Using Virtuozzo in the Microsoft Azure]].
  
 
=== Setup on pre-installed Linux distribution ===
 
=== Setup on pre-installed Linux distribution ===
  
: Alternatively, one can install OpenVZ on a pre-installed RPM based Linux distribution.
+
{{Note|Pay attention, this installation method currently blocked by broken network after installation - {{OVZ|6454}}.}}
 +
 
 +
Alternatively, one can install OpenVZ on a pre-installed RPM based Linux distribution.
 
Supported Linux distributions: Cloud Linux 7.*, CentOS 7.*, Scientific Linux 7.* etc
 
Supported Linux distributions: Cloud Linux 7.*, CentOS 7.*, Scientific Linux 7.* etc
  
 
Follow step-by-step instruction below:
 
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:
  
   yum localinstall http://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/Packages/v/virtuozzo-release-7.0.0-10.vz7.x86_64.rpm
+
   # yum localinstall http://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/Packages/v/virtuozzo-release-7.0.0-10.vz7.x86_64.rpm
  
 
Then install 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
  
 
See OpenVZ [[Packages]] available in various Linux distributions.
 
See OpenVZ [[Packages]] available in various Linux distributions.
  
<!--
+
 
 
=== OpenVZ with upstream Linux kernel ===
 
=== OpenVZ with upstream Linux kernel ===
  
: One can use OpenVZ containers with vanilla kernel, albeit with some limitations:
+
One can use Virtuozzo 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 a separate partition and mount it to /vz.
 
* It is required to create a separate partition and mount it to /vz.
  
See [[OpenVZ with upstream kernel]] and OpenVZ [[Packages]].
+
See article [[OpenVZ with upstream kernel]] if you want more details about support of upstream kernel.
-->
+
 
  
== Using OpenVZ ==
+
== Using Virtuozzo ==
  
 
Page with [[screencasts]] shows demo with a few Virtuozzo commands. Feel free to add more.
 
Page with [[screencasts]] shows demo with a few Virtuozzo commands. Feel free to add more.
Line 47: Line 57:
 
== See also ==
 
== See also ==
  
* https://docs.openvz.org/ -- official Virtuozzo documentation
+
* [https://docs.openvz.org/ Official Virtuozzo documentation]
  
 
[[Category: Installation]]
 
[[Category: Installation]]
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]

Revision as of 12:19, 11 September 2015

Yellowpin.svg Note: Use page Quick installation if you want to install current stable version of OpenVZ

This document briefly describes the steps needed to install Virtuozzo Linux distribution on your machine.

There are a few ways to install 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 Virtuozzo in the Amazon EC2

Follow steps in Using Virtuozzo in the Amazon EC2.

Using Virtuozzo in the Microsoft Azure

Follow steps in article Using Virtuozzo in the Microsoft Azure.

Setup on pre-installed Linux distribution

Yellowpin.svg Note: Pay attention, this installation method currently blocked by broken network after installation - OVZ-6454.

Alternatively, one can install OpenVZ on a pre-installed RPM based Linux distribution. Supported Linux distributions: Cloud Linux 7.*, CentOS 7.*, Scientific Linux 7.* etc

Follow step-by-step instruction below:

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

  # yum localinstall http://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/Packages/v/virtuozzo-release-7.0.0-10.vz7.x86_64.rpm

Then install mandatory Virtuozzo RPM packages:

  # yum install -y prlctl prl-disp-service vzkernel

See OpenVZ Packages available in various Linux distributions.


OpenVZ with upstream Linux kernel

One can use Virtuozzo 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 article OpenVZ with upstream kernel if you want more details about support of upstream kernel.


Using Virtuozzo

Page with screencasts shows demo with a few Virtuozzo commands. Feel free to add more.

See also