home notes

kernel: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.tar.bz2

OpenVZ? kernel patch: http://download.openvz.org/kernel/022stab056.1/patches/patch-022stab056-combined.gz

OpenVZ? x86_64-smp config: http://download.openvz.org/kernel/022stab056.1/configs/kernel-2.6.8-022stab056-x86_64-smp.config.ovz

binutils kernel patch: http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch

vzctl: http://download.openvz.org/utils/vzctl/2.7.0-24/src/vzctl-2.7.0-24.tar.bz2

vzquota: http://download.openvz.org/utils/vzquota/2.7.0-7/src/vzquota-2.7.0-7.tar.bz2

Add "-fPIC" to CFLAGS in vzctl-2.7.0-24/src/Makefile.

mknod /dev/vzctl c 126 0

modprobe vzdev

modprobe vzmon

modprobe vznetdev

modprobe vzdquota

apt-get install gawk

ln -s /usr/bin/awk /bin/awk # It's hardcoded in /etc/sysconfig/vz-scripts/dists/scripts/postcreate.sh

http://forum.openvz.org/index.php?t=tree&th=80&

ifconfig venet0 1.2.3.4 up

echo 1 > /proc/sys/net/ipv4/ip_forward

echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp