Installing And Using OpenVZ On Debian Squeeze (AMD64)

taken from :  http://www.howtoforge.com/installing-and-using-openvz-on-debian-squeeze-amd64

1- apt-get install linux-image-openvz-amd64 vzctl vzquota vzdump

2- ln -s /var/lib/vz /vz

3- nano /etc/sysctl.conf

[...]
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.default.forwarding=1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward=1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.eth0.proxy_arp=1
[...]

sysctl -p

4-nano /etc/vz/vz.conf

[...]
# Controls which interfaces to send ARP requests and modify APR tables on.
NEIGHBOUR_DEVS=all
[...]

5- reboot

6- uname -r

DONE !

PART II

1- wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh

2- http://you-host:3000
admin/admin

DONE!

🙂