Install Matrix Synapse on Ubuntu 18.04 / 20.04

Matrix Open Source Chat

Matrix is an open source project that publishes the Matrix open standard for secure, decentralised, real-time communication, and its Apache licensed reference implementations.

Maintained by the non-profit Foundation, we aim to create an open platform which is as independent, vibrant and evolving as the Web itself… but for communication.

As of June 2019, Matrix is out of beta, and the protocol is fully suitable for production usage.

Matrix is a new ecosystem for decentralized communication in real time for open federated instant messaging and VoIP services. It provides RESTful HTTP JSON APIs for building distributed and federated chat servers with no single point of control and failure and provides all references for the APIs.

Synapse is an implementation of the matrix homeserver that’s created by matrix team and written in Python/Twisted. With this software, we can implement the matrix way for decentralized communication, we can create our own home server and store all user personal info, chat history, create the room for own use, etc.


  • Ubuntu 18.04 / 20.04
  • Root privileges
  • Matrix Domain name or sub-domain

What we will do?

  1. Update and Upgrade the Ubuntu 18.04 System
  2. Install Matrix Synapse
  3. Configure Matrix Synapse
  4. Generate SSL Letsencrypt
  5. Install and Configure Nginx as a Reverse proxy for Matrix Synapse
  6. Setup UFW Firewall
  7. Setup New Matrix User

More info:
Demo: stux.Chat

3 min
Update and upgrade system
1 min
Install Matrix Synapse
5 min
Configure Matrix Synapse
5 min
Generate SSL certificates
3 min
Install and configure Nginx
5 min
Setup UFW firewall
3 min
Create a new Matrix user
1 min

Be the first to add a review.

Please, login to leave a review
Install Matrix Synapse on Ubuntu 18.04 / 20.04