Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Quick installation (legacy)

60 bytes removed, 15:55, 28 August 2008
sysctl: improved
=== sysctl ===
There are a number of kernel parameters that should be set for OpenVZ to work correctly. These parameters are stored in <tt>/etc/sysctl.conf</tt> file. Here is the are relevant part portios of the file; please edit it accordingly.
<pre>
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
 
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
 
# Enables the magic-sysrq key
kernel.sysrq = 1
# TCP Explict Congestion Notification#net.ipv4.tcp_ecn = 0# we We do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0