duniter_dans_lxc
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| duniter_dans_lxc [2020/01/07 20:25] – simon | duniter_dans_lxc [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Un conteneur LXC pour Duniter ====== | ||
| - | __Objectif :__ Rassembler dans un conteneur LXC un nœud [[duniter]] et d' | ||
| - | |||
| - | <code bash> | ||
| - | # lxc-create -t download -n duniter -- --dist debian --release buster --arch amd64 | ||
| - | |||
| - | # cat / | ||
| - | lxc.start.auto = 1 | ||
| - | |||
| - | # Distribution configuration | ||
| - | lxc.include = / | ||
| - | lxc.arch = linux64 | ||
| - | |||
| - | # Container specific configuration | ||
| - | lxc.rootfs.path = dir:/ | ||
| - | lxc.uts.name = duniter | ||
| - | |||
| - | # Network configuration | ||
| - | lxc.net.0.type = veth | ||
| - | lxc.net.0.link = lxcbr0 | ||
| - | lxc.net.0.flags = up | ||
| - | lxc.net.0.hwaddr = 00: | ||
| - | |||
| - | # cat / | ||
| - | (...) | ||
| - | dhcp-host=duniter, | ||
| - | |||
| - | # systemctl restart lxc-net | ||
| - | |||
| - | # lxc-start duniter | ||
| - | |||
| - | # lxc-ls -f | ||
| - | NAME | ||
| - | duniter | ||
| - | </ | ||
| - | |||
| - | ===== Installation de Duniter ===== | ||
| - | |||
| - | ===== Reverse Proxy Nginx ===== | ||
duniter_dans_lxc.1578428758.txt.gz · Dernière modification : (modification externe)
