LXC debian 8: различия между версиями
Материал из support.qbpro.ru
imported>Supportadmin Нет описания правки |
imported>Supportadmin Нет описания правки |
||
| Строка 1: | Строка 1: | ||
[www.google.ru | [https://www.google.ru Источник] | ||
1. В /etc/default/grub изменить параметр | 1. В /etc/default/grub изменить параметр | ||
Версия от 10:01, 7 марта 2016
1. В /etc/default/grub изменить параметр
GRUB_CMDLINE_LINUX="cgroup_enable=memory"
В 2. В /etc/sysctl.conf
net.ipv4.ip_forward=1 net.ipv4.conf.all.forwarding=1 net.ipv4.conf.all.proxy_arp=1
3. grub_updare, reboot
4. В /etc/network/interfaces
#allow-hotplug eth0
#auto eth0
#iface eth0 inet static
auto br0
iface br0 inet static
address 192.168.150.30
netmask 255.255.255.0
network 192.168.150.0
broadcast 192.168.150.255
gateway 192.168.150.1
dns-nameservers 192.168.150.1
bridge_ports eth0
bridge_fd 0
bridge_maxwait 0
5
