Difference between revisions of "Quick installation"
(→Using Virtuozzo in the Vagrant box: update version of box) |
Corradofiore (talk | contribs) (→Setup on pre-installed Linux distribution: Added EPEL requirement as per https://bugzilla.openvz.org/show_bug.cgi?id=3275) |
||
Line 58: | Line 58: | ||
# 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 | ||
+ | |||
+ | EPEL is a requisite: | ||
+ | |||
+ | # yum install -y epel-release | ||
Then install mandatory Virtuozzo RPM packages: | Then install mandatory Virtuozzo RPM packages: | ||
Line 64: | Line 68: | ||
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 === |
Revision as of 04:39, 14 December 2015
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:
Contents
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, VMware Fusion or VMware Workstation
- 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.
Setup on pre-installed 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
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
EPEL is a requisite:
# yum install -y epel-release
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.
Using Virtuozzo
Page with screencasts shows demo with a few Virtuozzo commands. Feel free to add more.