yunohost_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 | ||
yunohost_dans_lxc [2020/01/08 20:06] – [Installation de Yunohost] simon | yunohost_dans_lxc [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Un conteneur LXC pour Yunohost ====== | ||
- | |||
- | __Objectif :__ Migrer le serveur (VPS) de duniter.be vers un conteneur LXC sur un serveur plus costaud. | ||
- | |||
- | <code bash> | ||
- | # lxc-create -t download -n yunohost -- --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=yunohost, | ||
- | |||
- | # systemctl restart lxc-net | ||
- | |||
- | # lxc-start duniter | ||
- | |||
- | # lxc-ls -f | ||
- | NAME | ||
- | yunohost | ||
- | </ | ||
- | |||
- | ===== Installation de Yunohost ===== | ||
- | [[https:// | ||
- | |||
- | <code bash> | ||
- | # lxc-attach yunohost | ||
- | |||
- | root@yunohost:/# | ||
- | |||
- | root@yunohost:/# | ||
- | </ | ||
- | ===== Reverse Proxy Nginx ===== | ||
- | Sources : | ||
- | * [[https:// | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | |||
yunohost_dans_lxc.1578514013.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)