This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
технология_lxc [2024/07/09 15:50] val [Настройка bridge] |
технология_lxc [2025/08/04 16:11] (current) val [Debian/Ubuntu] |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Debian/Ubuntu ===== | ===== Debian/Ubuntu ===== | ||
| + | * Сервис SalesPlatform Vtiger CRM Russian [[Сервис SalesPlatform Vtiger CRM Russian#Информация по установке в LXC]] | ||
| ===== Подготовка родительской (host) системы ===== | ===== Подготовка родительской (host) системы ===== | ||
| Line 38: | Line 39: | ||
| # bridge_maxwait 0 | # bridge_maxwait 0 | ||
| # post-up /sbin/brctl setfd br0 0 | # post-up /sbin/brctl setfd br0 0 | ||
| + | |||
| </code> | </code> | ||
| Line 66: | Line 68: | ||
| USE_LXC_BRIDGE="false" | USE_LXC_BRIDGE="false" | ||
| ... | ... | ||
| + | </code><code> | ||
| + | root@server:~# rm /etc/default/lxc-net | ||
| </code> | </code> | ||
| Line 75: | Line 79: | ||
| === Debian === | === Debian === | ||
| <code> | <code> | ||
| + | debian# ls /usr/share/lxc/templates/ | ||
| + | |||
| debian# lxc-create -t debian -n www | debian# lxc-create -t debian -n www | ||
| + | |||
| + | debian# ls /var/cache/lxc | ||
| </code> | </code> | ||
| Line 102: | Line 110: | ||
| root@server:~# cp /etc/ssh/sshd_config /var/lib/lxc/www/rootfs/etc/ssh/sshd_config | root@server:~# cp /etc/ssh/sshd_config /var/lib/lxc/www/rootfs/etc/ssh/sshd_config | ||
| - | root@server:~# cp /etc/resolv.conf /var/lib/lxc/www/rootfs/etc/resolv.conf | + | root@server:~# ###cp /etc/resolv.conf /var/lib/lxc/www/rootfs/etc/resolv.conf |
| root@server:~# chroot /var/lib/lxc/www/rootfs /bin/bash | root@server:~# chroot /var/lib/lxc/www/rootfs /bin/bash | ||