This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
технология_openvz_в_ubuntu [2010/03/31 14:53] val |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Технология OpenVZ в Ubuntu ====== | ||
| - | [[https://help.ubuntu.com/community/OpenVZ]] | ||
| - | |||
| - | ===== Установка ===== | ||
| - | <code> | ||
| - | root@gateN:~# sudo apt-get install linux-openvz vzctl | ||
| - | |||
| - | root@gateN:~# shutdown -r now | ||
| - | |||
| - | root@gateN:~# uname -a | ||
| - | |||
| - | root@gateN:~# cat /etc/sysctl.conf | ||
| - | ... | ||
| - | net.ipv4.conf.default.forwarding=1 | ||
| - | net.ipv4.conf.default.proxy_arp=1 | ||
| - | net.ipv4.conf.eth0.proxy_arp = 1 | ||
| - | |||
| - | net.ipv4.ip_forward=1 | ||
| - | net.ipv4.conf.all.rp_filter = 1 | ||
| - | kernel.sysrq = 1 | ||
| - | net.ipv4.conf.default.send_redirects = 1 | ||
| - | net.ipv4.conf.all.send_redirects = 0 | ||
| - | |||
| - | root@gateN:~# sysctl -p | ||
| - | |||
| - | root@gateN:~# ln -s /var/lib/vz /vz | ||
| - | </code> | ||
| - | |||
| - | ===== Создание виртуальной машины ===== | ||
| - | <code> | ||
| - | |||
| - | </code> | ||