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:38] vodkra [Configuration du DNS] Changement lien de doc |
si:matrix [2019/09/05 21:59] vodkra [Clients] |
||
---|---|---|---|
Ligne 80: | Ligne 80: | ||
_matrix._tcp.parinux.org 3600 IN SRV 10 0 8448 synapse.parinux.org | _matrix._tcp.parinux.org 3600 IN SRV 10 0 8448 synapse.parinux.org | ||
| | ||
+ | ===== Configuration de la VoIP ===== | ||
+ | |||
+ | Il faut d'abord installer [[https://github.com/matrix-org/synapse/blob/master/docs/turn-howto.rst|un serveur TURN]]. | ||
===== Demarrer le serveur ===== | ===== Demarrer le serveur ===== | ||
systemctl start matrix-synapse.service | systemctl start matrix-synapse.service | ||
Ligne 97: | 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. | ||
+ | |||
+ | ===== Clients ===== | ||
+ | Prendre un [[https://riot.im/download/desktop/|client riot]] | ||
+ | |||
+ | L'ouvrir, puis cliquer sur ''Changer'' | ||
+ | |||
+ | {{:si:connexion1-indic.jpg?200|}} | ||
+ | |||
+ | |||
+ | Modifier le champs ''URL du serveur d'accueil'' en ''https://matrix.parinux.org'', puis cliquer sur ''Suivant'' | ||
+ | |||
+ | {{:si:connexion2-indic.jpg?200|}} | ||
+ | |||
+ | Mettre ses identifiants LDAP en remplissant les champs ''Nom d'utilisateur'' et ''Mot de passe'', puis cliquer sur ''Se connecter'' | ||
+ | |||
+ | {{:si:connexion3-indic.jpg?200|}} | ||
+ | |||
+ | La fenêtre d'une connexion réussie ressemble à ça | ||
+ | |||
+ | {{:si:connexion4-indic.jpg?200|}} |