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 21:17] – [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. | ||
| - | |||
| - | (Attention, Yunohost n'est actuellement disponible que pour Debian Stretch et pas encore pour Debian Buster!) | ||
| - | <code bash> | ||
| - | # lxc-create -t download -n yunohost -- --dist debian --release stretch --arch amd64 | ||
| - | |||
| - | |||
| - | # cat / | ||
| - | lxc.start.auto = 1 | ||
| - | |||
| - | # Distribution configuration | ||
| - | lxc.include = / | ||
| - | lxc.arch = linux64 | ||
| - | |||
| - | # Container specific configuration | ||
| - | lxc.rootfs.path = dir:/ | ||
| - | lxc.uts.name = yunohost | ||
| - | |||
| - | # 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 yunohost | ||
| - | |||
| - | # lxc-ls -f | ||
| - | NAME | ||
| - | yunohost | ||
| - | </ | ||
| - | |||
| - | ===== Installation de Yunohost ===== | ||
| - | [[https:// | ||
| - | |||
| - | <code bash> | ||
| - | # lxc-attach yunohost | ||
| - | |||
| - | root@yunohost:/# | ||
| - | |||
| - | root@yunohost:/# | ||
| - | (...) | ||
| - | [ OK ] YunoHost installation completed ! | ||
| - | =============================================================================== | ||
| - | You should now proceed with Yunohost post-installation. This is where you will | ||
| - | be asked for : | ||
| - | - the main domain of your server ; | ||
| - | - the administration password. | ||
| - | (...) | ||
| - | </ | ||
| - | |||
| - | On lance la " | ||
| - | <code bash> | ||
| - | </ | ||
| - | |||
| - | ===== Reverse Proxy Nginx ===== | ||
| - | Sources : | ||
| - | * [[https:// | ||
| - | * [[http:// | ||
| - | * [[https:// | ||
| - | |||
yunohost_dans_lxc.1578518278.txt.gz · Dernière modification : (modification externe)
