Switch branches/tags vzctl-4.5.1 vzctl-4.5.1-20130928-funtoo vzctl-4.5.1-20130923-funtoo vzctl-4.5 vzctl-4.4 vzctl-4.3.1 vzctl-4.3.1-funtoo vzctl-4.3 vzctl-4.2 vzctl-4.1.2 vzctl-4.1.1 vzctl-4.1 vzctl-4.0 vzctl-3.3 vzctl-3.3-r3-funtoo vzctl-3.3-r2-funtoo vzctl-3.3-r1-funtoo vzctl-3.2.1 vzctl-3.2 vzctl-3.1 vzctl- vzctl- vzctl- vzctl-3.0.30 vzctl- vzctl- vzctl- vzctl-3.0.29 vzctl- vzctl- vzctl- vzctl-3.0.28 vzctl-3.0.27 vzctl-3.0.27-r1-funtoo vzctl-3.0.27-funtoo vzctl- vzctl- vzctl- vzctl- vzctl-3.0.26 vzctl- vzctl- vzctl- vzctl-3.0.25 vzctl-3.0.25-r3-funtoo vzctl-3.0.25-r2-funtoo vzctl-3.0.25-r1-funtoo vzctl-3.0.25-funtoo vzctl- vzctl- vzctl-3.0.24 vzctl-3.0.24-r4-funtoo vzctl- vzctl- vzctl-3.0.23 vzctl-3.0.22 vzctl-3.0.21 vzctl-3.0.20 vzctl-3.0.19 vzctl-3.0.19-1 vzctl-3.0.18 vzctl-3.0.17 vzctl-3.0.17-1 vzctl-3.0.16 vzctl-3.0.15 vzctl-3.0.14 vzctl-3.0.13-1 vzctl-3.0.12-1 vzctl-3.0.11 vzctl-3.0.11-3 vzctl-3.0.11-2 vzctl-3.0.10 vzctl-3.0.9-1 vzctl-3.0.0-8 vzctl-3.0.0-7 vzctl-3.0.0-6 vzctl-3.0.0-5 master-4.5.1 master-4.1.2 master-4.1.1 master- master- master- master- master- master- master- master- 3.0.25-r2-funtoo
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (45 sloc) 1.81 KB
This document tells how to install vzctl from source. Note that the preferred
method of installation is from packages provided by either your distro or
directly by OpenVZ project.
== Quick instructions: for the impatient ==
Compile with:
$ ./configure --enable-bashcomp --enable-logrotate
$ make
Install with (as root):
# make install
# make install-<distro>
Here <distro> can be one of: redhat, suse, gentoo, debian.
== Complete instructions ==
=== Configuration ===
Run ./configure script with the options you want (see
the full list of available options by running ./configure --help).
Some useful options are:
Installation root. By default this is /usr/local, you might want to change it
to /usr by providing --prefix=/usr to ./configure
Enable bash-completion support for vzctl command line arguments. You want
this if you use bash completion on your system.
Enable logrotate support for vzctl log file. You want this if you use
logrotate scripts on your system.
Disables installation of udev file describing vzctl device (/dev/vzctl).
This is enabled by default since all the modern Linux distributions use udev.
Supply this option in case you do not use udev on your system.
You can also supply environment variables like CC and CFLAGS to configure,
for example:
CC=gcc4 CFLAGS="-O0 -g -Wall" ./configure [options]
=== Compilation ===
Just run
=== Installation ===
This step is usually have to be done as root.
First, run
make install
In addition, you should install some distribution-specific parts of vzctl.
To that effect, run one of the following:
make install-gentoo # for Gentoo
make install-redhat # for Red Hat, CentOS, and Fedora
make install-suse # for openSUSE and SLES
make install-debian # for Debian and Ubuntu