====== Yunohost ====== ===== Installation dans un conteneur LXC ===== Article détaillé : [[Yunohost dans LXC]] ===== Installation sur un VPS chez OVH ===== Cette partie est obsolète. ==== Prérequis ==== * Une Debian 8 fraîchement installée. * Avoir changé le mot de passe root simon@deb:~$ ssh root@46.105.31.205 The authenticity of host '46.105.31.205 (46.105.31.205)' can't be established. ECDSA key fingerprint is SHA256:3GTCv1aH/LYWwOZGCu42x2zSjfgotIQ2ZmUyiNoEvXw. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '46.105.31.205' (ECDSA) to the list of known hosts. root@46.105.31.205's password: The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@vps497702:~# passwd Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully ==== Script d'installation ==== (source : [[https://yunohost.org/#/install_manually|https://yunohost.org/#/install_manually]] ) root@vps497702:~# apt update root@vps497702:~# apt install ca-certificates dialog git root@vps497702:~# git clone https://github.com/YunoHost/install_script /tmp/install_script root@vps497702:~# cd /tmp/install_script/ root@vps497702:~# ./install_yunohost ==== Configuration des DNS ==== Tout d'abord, il faut jeter un œil à [[https://yunohost.org/#/dns_config|la documentation pour les DNS]]. On trouve la configuration DKIM là : root@duniter:~# cat /etc/dkim/duniter.org.mail.txt ==== Applications ==== La plupart des applications marquées comme "working" s'installent sans problèmes. Mais il y a parfois des soucis avec certaines. === CryptPad === Le service CryptPad ne démarre pas correctement. La ligne à modifier : [Unit] Description=CryptPad is an encrypted PAD Creator After=syslog.target After=network.target [Service] Type=simple User=cryptpad Group=cryptpad ExecStartPre=/opt/node_n/bin/n -q 8 WorkingDirectory=/var/www/cryptpad Environment="PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ExecStart=/bin/bash -c 'exec /usr/local/n/versions/node/8/bin/node server.js | tee /var/log/cryptpad/cryptpad.log' Restart=always [Install] WantedBy=multi-user.target C'est la ligne "ExecStart" qui pose un problème, voici la correction : ExecStart=/usr/local/n/versions/node/8/bin/node server.js | tee /var/log/cryptpad/cryptpad.log Merci à **frju365** qui maintient l'application et qui m'a aidé à faire la correction. ===== Backup de Yunohost à l'aide de Borg ===== Page dédiée : [[informatique;yunohost:sauvegarder yunohost]]