6,534
edits
Changes
fix formatting →Download
To compile OpenVZ linux kernel one need to download the original linux kernel sources and OpenVZ patches for it.
Linux kernel can be found at [http://www.kernel.org/ kernel.org], e.g. {{kver}} kernel can be downloaded from [http://www.kernel.org/pub/linux/kernel/v2.6/linux-{{kver}}.tar.bz2 linux-{{kver}}.tar.bz2from here].
Appropriate OpenVZ patches for this kernel version can be found at <nowiki>http://openvz.org/download/kernel/<branch>/<version>/patches/</nowiki>. For example, at the moment there is a patch [http://download.openvz.org/kernel/devel/{{krel}}.1/patches/patch-ovz{{krel}}.1-combined.gz patch-ovz{{krel}}.1-combined.gz] available.
Kernel configs are also available at OpenVZ download site. Most frequently SMP config is used, so let's download [http://download.openvz.org/kernel/devel/{{krel}}.1/configs/kernel-{{kver}}-i686-smp.config.ovz kernel-{{kver}}-i686-smp.config.ovz]