Difference between revisions of "Quick installation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
m (add 'translate' tags)
(Marked this version for translation)
Line 2: Line 2:
  
 
<translate>
 
<translate>
 +
<!--T:1-->
 
{{Note|See [[Quick installation]] if you are looking to install the current stable version of OpenVZ.}}
 
{{Note|See [[Quick installation]] if you are looking to install the current stable version of OpenVZ.}}
  
 +
<!--T:2-->
 
This document briefly describes the steps needed to install Virtuozzo Linux distribution on your machine.
 
This document briefly describes the steps needed to install Virtuozzo Linux distribution on your machine.
  
 +
<!--T:3-->
 
There are a few ways to install Virtuozzo:
 
There are a few ways to install Virtuozzo:
  
=== Bare-metal installation ===
+
=== Bare-metal installation === <!--T:4-->
  
 +
<!--T:5-->
 
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 our own Linux 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 our own Linux 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-beta2/x86_64/iso/ Download] installation ISO image.
 
[http://download.openvz.org/virtuozzo/releases/7.0-beta2/x86_64/iso/ Download] installation ISO image.
  
=== Using Virtuozzo in the Vagrant box ===
+
=== Using Virtuozzo in the Vagrant box === <!--T:6-->
  
 +
<!--T:7-->
 
[https://www.vagrantup.com/ Vagrant] is a tool for creating reproducible and portable development environments.
 
[https://www.vagrantup.com/ Vagrant] is a tool for creating reproducible and portable development environments.
 
It is easy to run environment with Virtuozzo using Vagrant:
 
It is easy to run environment with Virtuozzo using Vagrant:
  
 +
<!--T:8-->
 
* Download and [https://docs.vagrantup.com/v2/installation/ install Vagrant]
 
* Download and [https://docs.vagrantup.com/v2/installation/ install Vagrant]
 
* Download and install [https://www.virtualbox.org/wiki/Downloads Virtualbox], VMware Fusion or VMware Workstation
 
* Download and install [https://www.virtualbox.org/wiki/Downloads Virtualbox], VMware Fusion or VMware Workstation
 
* Download [https://atlas.hashicorp.com/OpenVZ/boxes/Virtuozzo-7.0 Virtuozzo box]:
 
* Download [https://atlas.hashicorp.com/OpenVZ/boxes/Virtuozzo-7.0 Virtuozzo box]:
  
   $ vagrant init OpenVZ/Virtuozzo-7.0
+
   <!--T:9-->
 +
$ vagrant init OpenVZ/Virtuozzo-7.0
  
 +
<!--T:10-->
 
* Run box:
 
* Run box:
  
   $ vagrant up --provider virtualbox
+
   <!--T:11-->
 +
$ vagrant up --provider virtualbox
  
 +
<!--T:12-->
 
and in case of VMware hypervisor:
 
and in case of VMware hypervisor:
  
   $ vagrant up --provider vmware_desktop
+
   <!--T:13-->
 +
$ vagrant up --provider vmware_desktop
  
 +
<!--T:14-->
 
and in case of Parallels hypervisor:
 
and in case of Parallels hypervisor:
  
   $ vagrant up --provider parallels
+
   <!--T:15-->
 +
$ vagrant up --provider parallels
  
 +
<!--T:16-->
 
* Attach to console:
 
* Attach to console:
  
   $ vagrant ssh
+
   <!--T:17-->
 +
$ vagrant ssh
  
 +
<!--T:18-->
 
* Use ''vagrant/vagrant'' to login inside box
 
* Use ''vagrant/vagrant'' to login inside box
  
=== Using Virtuozzo in the Amazon EC2 ===
+
=== Using Virtuozzo in the Amazon EC2 === <!--T:19-->
  
 +
<!--T:20-->
 
Follow steps in [[Using Virtuozzo in the Amazon EC2]].
 
Follow steps in [[Using Virtuozzo in the Amazon EC2]].
  
=== Setup on pre-installed Linux distribution ===
+
=== Setup on pre-installed Linux distribution === <!--T:21-->
  
 +
<!--T:22-->
 
{{Note|Pay attention, this installation method currently blocked by broken network after installation - {{OVZ|6454}}.}}
 
{{Note|Pay attention, this installation method currently blocked by broken network after installation - {{OVZ|6454}}.}}
  
 +
<!--T:23-->
 
Alternatively, one can install OpenVZ on a pre-installed RPM based Linux distribution.
 
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
  
 +
<!--T:24-->
 
Follow step-by-step instruction below:
 
Follow step-by-step instruction below:
  
 +
<!--T:25-->
 
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
+
   <!--T:26-->
 +
# 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
  
 +
<!--T:27-->
 
EPEL is a requisite:
 
EPEL is a requisite:
  
   # yum install -y epel-release
+
   <!--T:28-->
 +
# yum install -y epel-release
  
 +
<!--T:29-->
 
Then install mandatory Virtuozzo RPM packages:
 
Then install mandatory Virtuozzo RPM packages:
  
   # yum install -y prlctl prl-disp-service vzkernel
+
   <!--T:30-->
 +
# yum install -y prlctl prl-disp-service vzkernel
  
 +
<!--T:31-->
 
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 === <!--T:32-->
  
 +
<!--T:33-->
 
See article [[OpenVZ with upstream kernel]] if you want more details about support of upstream kernel.
 
See article [[OpenVZ with upstream kernel]] if you want more details about support of upstream kernel.
  
  
== Using Virtuozzo ==
+
== Using Virtuozzo == <!--T:34-->
  
 +
<!--T:35-->
 
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.
  
== See also ==
+
== See also == <!--T:36-->
  
 +
<!--T:37-->
 
* [https://docs.openvz.org/ Official Virtuozzo documentation]
 
* [https://docs.openvz.org/ Official Virtuozzo documentation]
 
</translate>
 
</translate>

Revision as of 08:36, 26 December 2015

<translate>

Yellowpin.svg Note: See Quick installation if you are looking to install the 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 our own Linux 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 Vagrant box

Vagrant is a tool for creating reproducible and portable development environments. It is easy to run environment with Virtuozzo using Vagrant:

$ vagrant init OpenVZ/Virtuozzo-7.0

  • Run box:

$ vagrant up --provider virtualbox

and in case of VMware hypervisor:

$ vagrant up --provider vmware_desktop

and in case of Parallels hypervisor:

$ vagrant up --provider parallels

  • Attach to console:

$ vagrant ssh

  • Use vagrant/vagrant to login inside box

Using Virtuozzo in the Amazon EC2

Follow steps in Using Virtuozzo in the Amazon EC2.

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:

  1. 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

EPEL is a requisite:

  1. yum install -y epel-release

Then install mandatory Virtuozzo RPM packages:

  1. yum install -y prlctl prl-disp-service vzkernel

See OpenVZ Packages available in various Linux distributions.

OpenVZ with upstream Linux kernel

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

</translate>