This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
matrix/README.md

73 lines
2 KiB
Markdown
Raw Normal View History

2024-10-22 17:16:58 +02:00
---
gitea: none
include_toc: true
---
# A complete Matrix installation
This is going to be a Matrix installation with all bells and whistles. Not
just the server, but every other bit that you need or want.
2024-10-22 17:24:37 +02:00
We're building it with workers, so it will scale.
2024-10-22 17:16:58 +02:00
## Overview
2024-10-31 17:33:04 +01:00
* [Synapse](https://element-hq.github.io/synapse/latest/)
2024-10-22 17:16:58 +02:00
* Webclient
* Element Call
2024-10-22 17:21:55 +02:00
* Management with [Synapse-Admin](https://github.com/Awesome-Technologies/synapse-admin)
2024-10-22 17:16:58 +02:00
* Moderation with [Draupnir](https://github.com/the-draupnir-project/Draupnir)
* [Consent
tracking](https://element-hq.github.io/synapse/latest/consent_tracking.html)
* Authentication via
[OpenID](https://element-hq.github.io/synapse/latest/openid.html)
* Several bridges
# Synapse
2024-10-22 17:24:37 +02:00
We'll use Synapse, using the workers architecture to make it scalable, flexible and reusable.
2024-10-31 17:33:04 +01:00
Mind you: this an installation on Debian Linux (at least for now).
Start by installing the latest Synapse server, see the [upstream
documentation](https://element-hq.github.io/synapse/latest/setup/installation.html).
```
apt install -y lsb-release wget apt-transport-https build-essential python3-dev libffi-dev \
python3-pip python3-setuptools sqlite3 \
libssl-dev virtualenv libjpeg-dev libxslt1-dev libicu-dev
wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ $(lsb_release -cs) main" |
tee /etc/apt/sources.list.d/matrix-org.list
apt update
apt install matrix-synapse-py3
```
Configuration is documented under `synapse`, "monolithic"
for the standard installation, and "workers" for the advanced configuration.
2024-10-22 17:16:58 +02:00
## Logging
Logging is configured in `log.yaml`. Some logging should go to systemd, the
more specific logging to Synapse's own logfile(s).
# TURN
We'll need a TURN server, and we'll use
2024-10-22 17:24:37 +02:00
[coturn](https://github.com/coturn/coturn) for that.
2024-10-22 17:16:58 +02:00
# Wiki
Of course there's a wiki in this repository.