You can do so by typing cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1. Before we start, however, you'll want to generate a random key to use for your registration_shared_secret configuration. We'll do so by editing the homeserver.yaml. Now that Synapse is installed, we can start configuring it so it actually works with our domain.
UBUNTU SETUP SHADOWSOCKS CLIENT HOW TO
Systemctl enable matrix-synapse How to Configure Matrix Synapse If you like, you can then use systemctl to start the server and make it start on boot. Make sure you enter the correct domain name when prompted and press Enter.
UBUNTU SETUP SHADOWSOCKS CLIENT INSTALL
Instead, you should install via GPG key and the Matrix-Synapse repository: sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg Įcho "deb $(lsb_release -cs) main" | sudo tee /etc/apt//matrix-org.list Technically, there are packages in the default Ubuntu repository, but Matrix warns that these are outdated and have vulnerabilities. Once that's done, install your pre-requisites: sudo apt install -y lsb-release wget apt-transport-https You can do so by running the following commands: sudo apt update As with any new server, the first step is to ensure everything is up to date. The initial setup of a Matrix synapse server is quite easy. How to Install Matrix Synapse on Ubuntu 20.04
), or purchase a new domain specifically for this purpose. It's up to you whether you want to create an A record for a subdomain on your existing site (ie. You'll also want a domain or subdomain from which your Matrix Synapse server will be accessible.
In our testing, though, BitLaunch's lowest spec server is more than enough to get started. The specs you need will naturally vary depending on how many people you plan to have communicating at once. Together, they make Matrix Synapse, a federated application that can be used in tandem with a client such as Element to deliver modern chat features. Synapse is the reference implementation of the Matrix protocol for use in a home server. Communication is distributed across a federation of servers, ensuring there's no single point of control of failure. Matrix is an open protocol to enable decentralized, real-time, end-to-end communication. Matrix Synapse is a free, open-source, and self-hosted alternative to apps like Slack and Microsoft Teams.īut what exactly is it, and how do you set it up? That's what we're going to cover today. That, however, leaves one major part of the puzzle missing – real-time text communication. We've previously covered self-hosted, privacy-conscious alternatives to document collaboration, search engines, mail, and cloud storage.