Talk:Installation on Debian/old
info about needed modules in kernel-config
info about "Yet Another mkInitRD" yaid tools creating initrd-files
Contents
ip_forward setup
If you want network access for the virtual server then you need to enable IP forwarding. Set "ip_forward" to yes in /etc/network option. # editor /etc/network/options
- /etc/network/options is deprecated. ip_forward may be enabled in /etc/sysctl.conf by adding the line "net.ipv4.ip_forward=1"
Debian Etch has been released
Sarge is no longer stable and has been replaced by Etch. This document needs to be updated for Etch
- References to Sarge need to be updated to use Etch instead.
- Lenny is the new Debian testing. If you wish to continue to have a testing section listed, update it for Lenny. Otherwise remove the testing section.
- Use the official Debian mirrors to get the OpenVZ packages.
--Dusty 19:26, 9 April 2007 (EDT)
Interface settings still give me an error.
I did an update on:
[...] # device: %DEV% iface %DEV% inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 gateway 192.168.2.1 up sysctl -w net.ipv4.conf.%DEV%.proxy_arp=100 pre-down sysctl -w net.ipv4.conf.%DEV%.proxy_arp=0 [...]
since the debian docs (/usr/share/doc/vzctl/README.Debian) told me this were the right values, but now I get on starting/stopping a VE:
vps-net_del WARNING: Function proxy_arp for eth0 is set to 0. Enable with 'sysctl -w net.ipv4.conf.eth0.proxy_arp=1'. See /usr/share/doc/vzctl/README.Debian.
The previous settings (see history) also gave me errors:
[...] # device: %DEV% iface %DEV% inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 gateway 192.168.2.1 up sysctl -w net.ipv4.conf.%DEV%.proxy_arp=0 pre-down sysctl -w net.ipv4.conf.%DEV%.proxy_arp=1 [...]
Anybody got a clue what the right values are?
--Vipz 16:27, 29 May 2007 (EDT)
See http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&oldid=2629, forum entry http://forum.openvz.org/index.php?t=msg&goto=10089 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387762
@vips: btw why have you change the settings to the buggy version of /usr/share/doc/vzctl/README.debian ?
So try a up sysctl -w net.ipv4.conf.%DEV%.proxy_arp=1, not 100!
--Curx 21:35, 29 May 2007 (EDT)
Because with the 'right' version I get this warning on starup/shutdown of a VE:
vps-net_add WARNING: Function proxy_arp for eth0 is set to 0. Enable with 'sysctl -w net.ipv4.conf.eth0.proxy_arp=1'. See /usr/share/doc/vzctl/README.Debian.
So I guessed the right values were in /usr/share/doc/vzctl/README.Debian. I didn't know these values were buggy.
@Curx: got any idea how to get rid of this warning?
--Vipz 15:34, 30 May 2007 (EDT)
Installation on Debian 6 Squeeze (stable)
This document seems rather old, but I've been able to install OpenVZ without any prior knowledge of the subject on a debian stable (squeeze) fresh install, using only the default repositories and apt-get commands and the instructions for debian lenny. My point is that the article can be quite confusing and a simpler one could be written. And in case anybody needed to install openvz in an old debian version, you could keep a link to the current article. --95.21.175.189 16:20, 1 August 2011 (UTC)
thanks a lot for themselves heard
big thanks to the author for new)