apt-get update apt-get install vzctl apt-mark hold vzctl
wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add - echo deb http://download.proxmox.com/debian wheezy pve > /etc/apt/sources.list.d/proxmox.list apt-get update && apt-get dist-upgrade
p=$(apt-cache search --names-only pve-kernel | sort | tail -1 | awk '{print $1;}') apt-get install pve-firmware $p
sed -i 's,GRUB_DEFAULT=0,GRUB_DEFAULT=2,' /etc/default/grub update-grub
ln -s /var/lib/vz /vz
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
vznetdev
allow-hotplug venet0 iface venet0 inet static address 192.0.2.2 netmask 255.255.255.0
IPV6="no" NEIGHBOUR_DEVS=all
Source: https://habr.com/ru/post/205738/
All Articles