Posts Tagged OpenVZ

Linux: Install and run OpenVZ in Debian Lenny

Install OpenVZ in DebianThere is a server with Debian Lenny installed. We need to configure several VPSs on the server. That’s how to install and run OpenVZ in Debian Lenny:

  1. Install a kernel with OpenVZ
    aptitude install linux-image-openvz-amd64
  2. To make OpenVZ containers work correctly, a file /etc/sysctl.conf needs to feature these lines:
    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 Read the rest of this entry »

, , , , , , ,

No Comments