Once that’s created, run curl and make sure the output matches what you specified in the server file:Īs long as that functions, you can now move on to installing Element. I chose the latter, and did the following: To federate the server, you can either create a srv DNS record, or leverage. Verify that the matrix-synapse server is running with ”ps -aux | grep synapse” and then move on to federating the server. Sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg Įcho “deb $(lsb_release -cs) main” | sudo tee /etc/apt//matrix-org.list Sudo apt install -y lsb-release wget apt-transport-https Always check the official documentation page for this, but as of this installation, that was done as follows: Once that’s setup, it is now time to install the matrix-synapse-p圓 server. Once that’s confirmed, we can now set up Let’s Encrypt certs:Ĭertbot –nginx -d -d -d Ĭonduct another url request on (adjusted for you) to ensure that your domain now has the TLS lock and redirected properly. Nano /etc/nginx/sites-enabled/Ĭonduct a url request on (adjusted for you) to ensure that your domain resolves and nginx is functioning properly. We will do the symlink later when installing the package, for now: This will help later when upgrades to Element come out, because you can just re-symlink the new update. Nano /etc/nginx/sites-enabled/Īs for the block (adjusted for your domain, of course), make sure to add a directory to the end of the block directory itself. Also, note that web root is irrelevant for this block because it will not be serving any files directly but is merely sending requests back to matrix/localhost on port 8008. To limit confusion, I have just provided the config directly. The block needs to have the proxy_pass directive set. Once these are created, delete everything in the block file except the ] and make some small edits: You will notice that I did not create a server block for jitsi becuase it’s installer script will take care of this automatically later on. Once those prerequisites are done, let’s install nginx web server: I would also recommend hardening your ] file. You should also make sure that you have ] installed and configured before proceeding. After those cached, I then shelled into my VM and established ufw rules for ssh, http, https, matrix, and jitsi: First, the prerequisites are to set up A records for your domains, and adjust to your needs. For now, let me step you through what I did. I will solve that issue later and post an addenda here when I do. well-known to work and it could not federate, although everything else worked fine. Although I originally intended to use apache, I could not get the ProxyPass for. I have everything up and running now with nginx except for the MTA/email functionality. The ] was solid and the ] tutorial had many great insights. This tutorial is for users of Debian GNU/Linux who want to create their own synapse/matrix instance.
0 Comments
Leave a Reply. |