Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

User Guide/Installation and Preliminary Operations

117 bytes added, 21:34, 18 October 2015
m
Reverted edits by 212.233.125.98 (talk) to last revision by Paparaciz
==== Software Compatibility ====
The Hardware Node should run either Red Hat Enterprise Linux 3 6 or 45, or Fedora Core 3 CentOS 6 or 45, or CentOS 3.4 Scientific Linux 6 or 45. The detailed instructions on installing these operating systems for the best performance of OpenVZ are provided in the next sections.
This requirement does not restrict the ability of OpenVZ to provide other Linux versions as an operating system for Virtual Private Servers. The Linux distribution installed in a Virtual Private Server may differ from that of the host OS.
First of all, you should download the kernel binary RPM from http://openvz.org/download/kernel/. You need only one kernel RPM, so please choose the appropriate kernel binary depending on your hardware:
 
if you use Red Hat Enterprise 5, or Centos 5, or Scientific Linux 5:
* If there is more than one CPU available on your Hardware Node (or a CPU with hyperthreading), select the vzkernel-smp RPM.
* If there is more than 4 Gb of RAM available, select the vzkernel-enterprise RPM.
* Otherwise, select the uniprocessor kernel RPM (vzkernel-version).
 
if you use Red Hat Enterprise 6, or Centos 6, or Scientific Linux 6:
*select the uniprocessor kernel RPM (vzkernel-version).
Next, you shall install the kernel RPM of your choice on your Hardware Node by issuing the following command:
* vzctl: this package is used to perform different tasks on the OpenVZ Virtual Private Servers (create, destroy, start, stop, set parameters etc.).
* vzquota: this package is used to manage the VPS quotas.
* vzpkg: this package is used to work with OpenVZ templates.
You can download the corresponding binary RPMs from http://openvz.org/download/utils/.
On the next step, you should install these utilities by using the following command:
# rpm –Uhv vzctl*.rpm vzquota*.rpm vzpkg*.rpm
{{Note|During the packages installation, you may be presented with a message telling you that rpm has found unresolved dependencies. In this case you have to resolve these dependencies first and then repeat the installation.}}
<pre>
# cd /vz/template/cache
# wget http://download.openvz.ohhgorg/template/precreated/centos-5-x86.tar.gz
</pre>
<noinclude>{{UG/Footer}}</noinclude>
ggggggggg