Difference between revisions of "Quick installation"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(installation on existed linux)
(rm translate tags)
 
(39 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Stub}}
+
{{Virtuozzo}}
 +
 
 +
{{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 [[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]].
 +
[https://download.openvz.org/virtuozzo/releases/7.0/x86_64/iso/ Download] installation ISO image.
  
{{Virtuozzo}}
+
== 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 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 [https://atlas.hashicorp.com/OpenVZ/boxes/Virtuozzo-7.0 Virtuozzo box]:
  
This document briefly describes the steps needed to install OpenVZ on your machine.
+
$ vagrant init OpenVZ/Virtuozzo-7.0
  
There are two ways to get OpenVZ:
+
* Run box:
  
=== Virtuozzo bare-metal installation ===
+
$ vagrant up --provider virtualbox
  
: OpenVZ project build special Linux distribution with hypervisor and container virtualization.
+
and in case of VMware hypervisor:
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]].
 
  
=== Using OpenVZ on existed Linux distribution ===
+
$ vagrant up --provider vmware_desktop
  
: There is ability to install OpenVZ on installed RPM based Linux distribution. Follow step-by-step instruction below:
+
and in case of Parallels hypervisor:
  
* rpm -ihv http://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/virtuozzo-release-7.0.1-1.x86_64.rpm
+
$ vagrant up --provider parallels
* yum install -y prlctl prl-disp-service vzkernel
 
  
Known issues: {{B|3274}}, {{B|3275}}, {{B|3273}}
+
* Attach to console:
  
=== OpenVZ with upstream Linux kernel ===
+
$ vagrant ssh
  
: There is ability to use OpenVZ containers in vanilla kernel. But there some disadvantages:
+
* Use ''vagrant/vagrant'' to login inside box
  
* 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).
+
== Using Virtuozzo in the Amazon EC2 ==
* It is required to create separate partition mounted to /vz.
 
  
See [[OpenVZ with upstream kernel]].  
+
Follow steps in [[Using Virtuozzo in the Amazon EC2]].
  
== Using OpenVZ ==
+
== Using Virtuozzo ==
  
OpenVZ is now set up on your machine. Follow on to [[basic operations in OpenVZ environment]] document.
+
Page with [[screencasts]] shows demo with a few Virtuozzo commands. Feel free to add more.
  
 
== See also ==
 
== See also ==
 
+
* [https://docs.openvz.org/ Official Virtuozzo documentation]
* [[Quick installation of legacy OpenVZ]]
 
  
 
[[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