User Tools

Site Tools


технология_lxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
технология_lxc [2026/07/24 07:01]
val [Настойка сетевых параметров дочерней системы]
технология_lxc [2026/07/24 10:40] (current)
val [Установка ПО в дочерней системе]
Line 112: Line 112:
 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
Line 180: Line 180:
  
 root@server:​~#​ lxc-attach -n www -- /bin/bash root@server:​~#​ lxc-attach -n www -- /bin/bash
-root@www:~# systemctl disable --now systemd-networkd+root@www:~# ###systemctl disable --now systemd-networkd
  
 root@server:​~#​ lxc-stop -n www root@server:​~#​ lxc-stop -n www
технология_lxc.1784865680.txt.gz · Last modified: 2026/07/24 07:01 by val