From f0e6173771eb54be2e268bd4b2916061605f8cb5 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 14 Sep 2021 14:09:06 -0400 Subject: tweaks --- jitsi.html | 2 +- matrix.html | 50 +++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/jitsi.html b/jitsi.html index 0c7d427..71cb95d 100644 --- a/jitsi.html +++ b/jitsi.html @@ -25,7 +25,7 @@

First, install some dependencies:

-
apt install gpg apt-transport-https nginx python-certbot-nginx
+
apt install gpg apt-transport-https nginx python3-certbot-nginx

Jitsi has its own package repository, so let's add it.

diff --git a/matrix.html b/matrix.html index 27f4993..d9e59bb 100644 --- a/matrix.html +++ b/matrix.html @@ -12,12 +12,13 @@

Matrix Synapse Server

+ Matrix Synapse Logo

Matrix is easy-to-use, decentralized and encrypted private chat software. Matrix is federated, meaning that with a Matrix account on any server, including your own, you can talk to any other Matrix account on the internet, similar to email. Matrix also allows fully end-to-end encrypted group chats.

-

Synapse is the name of the default Matrix server. It is written in Python.

+

Synapse is the name of the default Matrix server. It is written in Python. While it is requires somewhat more system resources than an XMPP server, it makes up for that in being very accessible to non-technical users.

Installation

@@ -39,7 +40,7 @@ apt install matrix-synapse-py3

server {
-         server_name matrix.example.org ;
+        server_name matrix.example.org ;
         listen 80;
         listen [::]:80;
         location / {
@@ -75,12 +76,55 @@ systemctl reload nginx

Configuration

+

Read the config file

+

The configuration file for Matrix is in /etc/matrix-synapse/homeserver.yaml. It is well documented and commented, so you can read about the settings, but let's change the essential ones here.

-

This article isn't finished. Deal with basic settings and registering accounts.

+

+ Make what changes you want and run systemctl reload matrix-synapse to make the system configuration active. +

+ +

Create an administrator account

+ +

If you allow open registration on your server in the configuration file, you can create an account through Element or another Matrix client, but you are probably going to want an official admin account to use. + To make one, simply run the following command, which will then give you several choices for creating a user, among which will be the ability to make it an admin. +

+ +
register_new_matrix_user -c homeserver.yaml http://localhost:8008
+ +

Using Matrix with Element Matrix logoElement

+ +

+ There are many different clients that can be used on desktops or phones to chat on your Matrix server, but the most popular and most widely vetted is Element logoElement. +

+ +

Get Element to access your Matrix server:

+ + + +

+ Note also that Element has a web client (i.e. a version that can be accessed on your own website) that is also easy to install on an Nginx server, + although that will be covered in another article. +

+
-- cgit v1.2.3