ChatMatrix: Difference between revisions
From FlowerHouseWiki
(Created page with "{{ContainerInfo |image = Juypter.png |Domain = [https://chat.flowerhouse.at chat.flowerhouse.at] |MAC = BE:B1:89:38:28:44 |IP = 192.168.88.19 |Privileged = No |OS = Debian Bullseye |RAM = 4096MB |Cores = 2 }} <p>The ChatMatrix-LXC is reachable under <syntaxhighlight lang="Bash" inline>192.168.88.19</syntaxhighlight> which is located in the ServerVLAN.</p> <p>The subdomain is [https://chat.flowerhouse.at chat.flowerhouse.at] which is handled by the ReverseProxy.</p>...") |
|||
Line 17: | Line 17: | ||
<p>Install required packages</p> | <p>Install required packages</p> | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
apt install | apt install -y lsb-release wget apt-transport-https | ||
</syntaxhighlight> | |||
<p>Add repository</p> | |||
<syntaxhighlight lang="console" lines> | |||
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 | |||
</syntaxhighlight> | |||
<p>Install matrix-synapse</p> | |||
<syntaxhighlight lang="console"> | |||
apt install matrix-synapse-py3 | |||
</syntaxhighlight> | |||
<p>Check status</p> | |||
<syntaxhighlight lang="console"> | |||
systemctl status matrix-synapse | |||
</syntaxhighlight> | |||
<p>Create random key and save it</p> | |||
<syntaxhighlight lang="console"> | |||
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 | |||
</syntaxhighlight> | |||
<p>Edit matrix-synapse configuration file</p> | |||
<syntaxhighlight lang="console"> | |||
nano /etc/matrix-synapse/homeserver.yaml | |||
</syntaxhighlight> | |||
<p></p> | |||
<syntaxhighlight lang="console"> | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 17:50, 15 July 2022
IP: | 192.168.88.19 |
---|---|
MAC: | BE:B1:89:38:28:44 |
Domain: | chat.flowerhouse.at |
OS: | Debian Bullseye |
---|---|
RAM: | 4096MB |
Cores: | 2 |
Privileged: | No |
The ChatMatrix-LXC is reachable under 192.168.88.19
which is located in the ServerVLAN.
The subdomain is chat.flowerhouse.at which is handled by the ReverseProxy.
Basic Setup
Installation
Install required packages
apt install -y lsb-release wget apt-transport-https
Add repository
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
Install matrix-synapse
apt install matrix-synapse-py3
Check status
systemctl status matrix-synapse
Create random key and save it
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
Edit matrix-synapse configuration file
nano /etc/matrix-synapse/homeserver.yaml