Ci-dessous, les différences entre deux révisions de la page.
Both sides previous revision Révision précédente Prochaine révision | Révision précédente Prochaine révision Both sides next revision | ||
si:matrix [2019/06/13 20:59] vodkra [Configuration du DNS] |
si:matrix [2019/07/18 20:47] vodkra [Installation et configuration du client 'riot'] |
||
---|---|---|---|
Ligne 100: | Ligne 100: | ||
Ajouter la ligne suivante dans le fichier ''/etc/apt/sources.list'' : | Ajouter la ligne suivante dans le fichier ''/etc/apt/sources.list'' : | ||
deb https://packages.riot.im/debian stretch main | deb https://packages.riot.im/debian stretch main | ||
+ | | ||
+ | FIXME Faire un paquet debian ''riot-webapp'' à partir des [[https://github.com/vector-im/riot-web/releases|releases github]]. Voir aussi le [[https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/riot|PKGBUILD]] d'Archlinux. | ||
+ | |||
+ | Installation des paquets (serveur web): | ||
+ | apt-get install nginx | ||
+ | | ||
+ | Mettre en place le répertoir ''webapps'' | ||
+ | mkdir -p /opt/webapps/riot/versions | ||
+ | | ||
+ | Télécharger et importer de la clé publique | ||
+ | wget https://packages.riot.im/riot-release-key.asc | ||
+ | gpg --import riot-release-key.asc | ||
+ | | ||
+ | Télécharger l'archive, sa signature associée, puis vérifier | ||
+ | wget https://github.com/vector-im/riot-web/releases/download/v1.2.2/riot-v1.2.2.tar.gz{.asc,} | ||
+ | gpg --verify riot-v1.2.2.tar.gz{.asc,} | ||
+ | | ||
+ | Extraire la dernière version stable de l'archive issue de [[https://github.com/vector-im/riot-web/releases|cette page]] dans ''/opt/webapps/riot/versions'' | ||
+ | tar -C /opt/webapps/riot/versions -xvf riot-v1.2.2.tar.gz | ||
+ | | ||
+ | Faire un lien symbolique | ||
+ | ln -s /opt/webapps/riot/versions/riot-v1.2.2 /opt/webapps/riot/main | ||
+ | | ||
+ | Renommer le fichier ''config.json'' en ''config.matrix.parinux.org.json'' | ||
+ | mv /opt/webapps/riot/main/{config.json,config.matrix.parinux.org.json} | ||
+ | |||
+ | Activer le service | ||
+ | systemctl status nginx | ||
+ | | ||
+ | Le fichier de configuration du client ''riot'' se trouve dans le fichier ''/etc/nginx/conf.d/riot.conf'' | ||
+ | |||
+ | | ||
====== Tests ====== | ====== Tests ====== | ||
===== Fédération ===== | ===== Fédération ===== | ||
Aller sur le site [[https://matrix.org/federationtester/|Federation Tester]] pour vérifier si la fédération est activée. | Aller sur le site [[https://matrix.org/federationtester/|Federation Tester]] pour vérifier si la fédération est activée. |