Difference between revisions of "Quick installation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Describe using Vagrant box for Vz7)
(rm translate tags)
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Virtuozzo}}
 
{{Virtuozzo}}
  
{{Note|See [[Quick installation]] if you are looking to install the current stable version of OpenVZ.}}
+
{{Note|See [[Quick installation (legacy)]] if you are looking to install the legacy version of OpenVZ.}}
  
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 7 on your machine.
  
 
There are a few ways to install Virtuozzo:
 
There are a few ways to install Virtuozzo:
  
=== 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 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/x86_64/iso/ Download] installation ISO image.
+
[https://download.openvz.org/virtuozzo/releases/7.0/x86_64/iso/ Download] installation ISO image.
  
=== Using Virtuozzo in the Vagrant box ===
+
== Using Virtuozzo in the Vagrant box ==
 +
 
 +
[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:
  
 
* Download and [https://docs.vagrantup.com/v2/installation/ install Vagrant]
 
* Download and [https://docs.vagrantup.com/v2/installation/ install Vagrant]
* Download and [https://www.virtualbox.org/wiki/Downloads install Virtualbox]
+
* Download and install [https://www.virtualbox.org/wiki/Downloads Virtualbox], Parallels Desktop, VMware Fusion or VMware Workstation. Please note that you need to enable nested virtualization support in your hypervisor to run virtual machines on Virtuozzo 7. VirtualBox does not officially support nested virtualization now.
* Download Virtuozzo box:
+
* Download [https://atlas.hashicorp.com/OpenVZ/boxes/Virtuozzo-7.0 Virtuozzo box]:
  
  $ vagrant init OpenVZ/Virtuozzo-7b2
+
$ vagrant init OpenVZ/Virtuozzo-7.0
  
 
* Run box:
 
* Run box:
  
  $ vagrant up --provider virtualbox
+
$ vagrant up --provider virtualbox
  
=== Using Virtuozzo in the Amazon EC2 ===
+
and in case of VMware hypervisor:
  
Follow steps in [[Using Virtuozzo in the Amazon EC2]].
+
$ vagrant up --provider vmware_desktop
  
=== Using Virtuozzo in the Microsoft Azure ===
+
and in case of Parallels hypervisor:
  
Follow steps in article [[Using Virtuozzo in the Microsoft Azure]].
+
$ vagrant up --provider parallels
  
=== Setup on pre-installed Linux distribution ===
+
* Attach to console:
  
{{Note|Pay attention, this installation method currently blocked by broken network after installation - {{OVZ|6454}}.}}
+
$ vagrant ssh
  
Alternatively, one can install OpenVZ on a pre-installed RPM based Linux distribution.
+
* Use ''vagrant/vagrant'' to login inside box
Supported Linux distributions: Cloud Linux 7.*, CentOS 7.*, Scientific Linux 7.* etc
 
  
Follow step-by-step instruction below:
+
== Using Virtuozzo in the Amazon EC2 ==
 
 
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 ===
 
 
 
See article [[OpenVZ with upstream kernel]] if you want more details about support of upstream kernel.
 
  
 +
Follow steps in [[Using Virtuozzo in the Amazon EC2]].
  
 
== Using Virtuozzo ==
 
== Using Virtuozzo ==
Line 63: Line 51:
  
 
== 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]]

Latest revision as of 02:47, 27 November 2018

Yellowpin.svg Note: See Quick installation (legacy) if you are looking to install the legacy version of OpenVZ.

This document briefly describes the steps needed to install Virtuozzo 7 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:

  • Download and install Vagrant
  • Download and install Virtualbox, Parallels Desktop, VMware Fusion or VMware Workstation. Please note that you need to enable nested virtualization support in your hypervisor to run virtual machines on Virtuozzo 7. VirtualBox does not officially support nested virtualization now.
  • Download Virtuozzo box:
$ 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.

Using Virtuozzo

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

See also