This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
технология_lxc [2022/02/10 14:49] val [Создание ветки дочерней системы] |
технология_lxc [2022/07/28 12:21] (current) val [Технология LXC] |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[http://ru.wikipedia.org/wiki/LXC|LXC wiki]] | * [[http://ru.wikipedia.org/wiki/LXC|LXC wiki]] | ||
- | * [[https://help.ubuntu.com/lts/serverguide/lxc.html|Ubuntu-Руководство по Ubuntu Server-Виртуализация]] | + | * [[https://wiki.debian.org/LXC|debian.org/LXC]] |
* [[https://linuxcontainers.org/lxc/getting-started/|LXC Getting started]] | * [[https://linuxcontainers.org/lxc/getting-started/|LXC Getting started]] | ||
Line 48: | Line 48: | ||
root@server:~# cat /etc/default/lxc | root@server:~# cat /etc/default/lxc | ||
+ | </code><code> | ||
+ | ... | ||
+ | #[ ! -f /etc/default/lxc-net ] || . /etc/default/lxc-net | ||
+ | </code> | ||
+ | ИЛИ | ||
+ | |||
+ | <code> | ||
root@server:~# cat /etc/default/lxc-net | root@server:~# cat /etc/default/lxc-net | ||
</code><code> | </code><code> | ||
Line 68: | Line 75: | ||
=== Ubuntu === | === Ubuntu === | ||
<code> | <code> | ||
- | ubuntu# lxc-create -t download -n server -- --no-validate -d ubuntu -r focal -a amd64 | + | ubuntu# lxc-create -t download -n www -- -d ubuntu -r focal -a amd64 |
</code> | </code> | ||
==== Установка ПО в дочерней системе ==== | ==== Установка ПО в дочерней системе ==== |