{"id":1737,"date":"2022-06-15T12:30:00","date_gmt":"2022-06-15T17:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1737"},"modified":"2023-08-29T11:44:34","modified_gmt":"2023-08-29T16:44:34","slug":"how-to-install-matrix-synapse-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/","title":{"rendered":"How to Install Matrix Synapse on Ubuntu 20.04"},"content":{"rendered":"\n<p>In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS.<\/p>\n\n\n\n<p>Matrix Synapse is an open-source chat application written in Python, used for real-time communication for VOIP services and instant messaging. Synapse is developed to implement the matrix for decentralized communication which can store personal data from the chat history, user data and etc. In this tutorial, we will install Matrix Synapse with <a href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-odoo-14-on-debian-11-with-apache-as-a-reverse-proxy\/\">Apache as a reverse proxy<\/a>.<\/p>\n\n\n\n<p>The installation is very easy and can take up to 30 minutes. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server with Ubuntu 20.04 as OS<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n\n\n\n<li>A valid domain pointed to your server IP address<\/li>\n<\/ul>\n\n\n\n<p>&lt;\/ul<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1. Update the System<\/h2>\n\n\n\n<p>We need to update the system packages to be updated to the latest versions available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update -y &amp;&amp; sudo apt-get upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2. Install Apache Web Server<\/h2>\n\n\n\n<p>Install the Apache Web server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install apache2<\/pre>\n\n\n\n<p>Once, installed start and enable the service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl enable apache2 &amp;&amp; sudo systemctl start apache2<\/pre>\n\n\n\n<p>Check if the service is up and running:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status apache2<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status apache2\n\u25cf apache2.service - The Apache HTTP Server\n     Loaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)\n     Active: active (running) since Sat 2022-05-07 12:08:39 UTC; 51min ago\n       Docs: https:\/\/httpd.apache.org\/docs\/2.4\/\n   Main PID: 662 (apache2)\n      Tasks: 7 (limit: 4617)\n     Memory: 24.1M\n     CGroup: \/system.slice\/apache2.service\n             \u251c\u2500  662 \/usr\/sbin\/apache2 -k start\n             \u251c\u2500  846 \/usr\/sbin\/apache2 -k start\n             \u251c\u2500  847 \/usr\/sbin\/apache2 -k start\n             \u251c\u2500  848 \/usr\/sbin\/apache2 -k start\n             \u251c\u2500  849 \/usr\/sbin\/apache2 -k start\n             \u251c\u2500  851 \/usr\/sbin\/apache2 -k start\n             \u2514\u250022759 \/usr\/sbin\/apache2 -k start\n\nMay 07 18:08:37 host.test.vps systemd[1]: Starting The Apache HTTP Server...\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3. Install Matrix Synapse<\/h2>\n\n\n\n<p>Before we can install Matrix synapse, we need to add the GPG key and repository since it is not added by default on Ubuntu 20.04<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -qO \/usr\/share\/keyrings\/matrix-org-archive-keyring.gpg https:\/\/packages.matrix.org\/debian\/matrix-org-archive-keyring.gpg\n<\/pre>\n\n\n\n<p>Add the repository:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">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\n<\/pre>\n\n\n\n<p>Update the repository and install Matrix Synapse:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update -y\n\napt-get install matrix-synapse-py3 -y\n\n<\/pre>\n\n\n\n<p>On the first window enter your domain name:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/05\/m1-1024x218.jpg\" alt=\"\" class=\"wp-image-41374\"\/><\/figure>\n<\/div>\n\n\n<p>On the second screen select <strong>Yes<\/strong> and hit the Enter on your keyboard for the installation to start.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/05\/m2-1024x223.jpg\" alt=\"\" class=\"wp-image-41372\"\/><\/figure>\n<\/div>\n\n\n<p>Once, the installation is finished, enable and start the matrix synapse service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start matrix-synapse &amp;&amp; sudo systemctl enable matrix-synapse<\/pre>\n\n\n\n<p>To check the status of the Matrix Synapse service execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status matrix-synapse<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status matrix-synapse\n\u25cf matrix-synapse.service - Synapse Matrix homeserver\n     Loaded: loaded (\/lib\/systemd\/system\/matrix-synapse.service; enabled; vendor preset: enabled)\n     Active: active (running) since Sun 2022-05-08 17:15:57 UTC; 12min ago\n   Main PID: 36817 (python)\n      Tasks: 8 (limit: 4617)\n     Memory: 80.1M\n     CGroup: \/system.slice\/matrix-synapse.service\n             \u2514\u250036817 \/opt\/venvs\/matrix-synapse\/bin\/python -m synapse.app.homeserver --config-path=\/etc\/matrix-synapse\/homeserver.yaml --config-path=\/etc\/matrix-synapse&gt;\n\nMay 08 17:15:46 host.test.vps systemd[1]: Starting Synapse Matrix homeserver..\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4. Configure Matrix Synapse<\/h2>\n\n\n\n<p>We are going to create a secret password and store in the default matrix synapse configuration at <strong>\/etc\/matrix-synapse\/homeserver.yaml<\/strong>. Open the file and paste the following lines of code under the resources section:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">resources:\n- names: [client, federation]\ncompress: false\n\nenable_registration: false\nregistration_shared_secret: \"&lt;strong&gt;YourStrongSecretPasswordWithNumbersAndDigits&lt;\/strong&gt;\"\n<\/pre>\n\n\n\n<p>Once, you save the changes, close the file and restart the matrix synapse service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart matrix-synapse<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5. Create Apache Virtual Host File and Reverse Proxy<\/h2>\n\n\n\n<p>Create the file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">touch \/etc\/apache2\/sites-available\/matrix.conf<\/pre>\n\n\n\n<p>Open the file and paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;VirtualHost *:80&gt;\n    ServerName yourdomain.com\n    &lt;Location \/&gt;\n      ProxyPass http:\/\/0.0.0.0:8008\/_matrix\/static\/\n      ProxyPassReverse http:\/\/0.0.0.0:8008\/_matrix\/static\/\n  &lt;\/Location&gt;\n    RequestHeader set \"X-Forwarded-Proto\" expr=%{REQUEST_SCHEME}\n    AllowEncodedSlashes NoDecode\n    ProxyPreserveHost on\n    ProxyPass \/_matrix http:\/\/0.0.0.0:8008\/_matrix nocanon\n    ProxyPassReverse \/_matrix http:\/\/0.0.0.0:8008\/_matrix\n    ProxyPass \/_synapse\/client http:\/\/0.0.0.0:8008\/_synapse\/client nocanon\n    ProxyPassReverse \/_synapse\/client http:\/\/0.0.0.0:8008\/_synapse\/client\n&lt;\/VirtualHost&gt;\n\n<\/pre>\n\n\n\n<p>Enable the website and some apache modules:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">a2ensite matrix.conf\na2enmod proxy\na2enmod proxy_http\n<\/pre>\n\n\n\n<p>Check the Apache Configuration with command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apachectl -t<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# apachectl -t\nSyntax OK<\/pre>\n\n\n\n<p>If the syntax is OK, restart the apache service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart apache2<\/pre>\n\n\n\n<p>Now, you can access the Matrix Synapse at <strong>http:\/\/yourdomain.com<\/strong> and see the following screen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/05\/m3.jpg\" alt=\"\" class=\"wp-image-41371\"\/><\/figure>\n<\/div>\n\n\n<p>Our aim with today&#8217;s article is to simplify the process of installing Matrix Synapse on Ubuntu 20.04 for you. Now it&#8217;s your turn to share your thoughts. <\/p>\n\n\n\n<p>Is there something you believe we missed or any steps that have left you puzzled and needing more information? What other topics or how-to guides would you like us to provide? <\/p>\n\n\n\n<p>Your opinion matters to us, so don&#8217;t hesitate to leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS. Matrix Synapse is an open-source chat application written in Python, used for real-time communication for VOIP services and instant messaging. Synapse is developed to implement the matrix for decentralized communication which can store personal data from the &#8230; <a title=\"How to Install Matrix Synapse on Ubuntu 20.04\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/\" aria-label=\"More on How to Install Matrix Synapse on Ubuntu 20.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1738,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,208],"tags":[251,252,47],"class_list":["post-1737","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-matrix","tag-synapse","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Matrix Synapse on Ubuntu 20.04 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS. Matrix Synapse is an open-source chat application written in\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Matrix Synapse on Ubuntu 20.04 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS. Matrix Synapse is an open-source chat application written in\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-15T17:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T16:44:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/06\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Matrix Synapse on Ubuntu 20.04\",\"datePublished\":\"2022-06-15T17:30:00+00:00\",\"dateModified\":\"2023-08-29T16:44:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/\"},\"wordCount\":465,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp\",\"keywords\":[\"matrix\",\"synapse\",\"ubuntu\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/\",\"name\":\"How to Install Matrix Synapse on Ubuntu 20.04 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp\",\"datePublished\":\"2022-06-15T17:30:00+00:00\",\"dateModified\":\"2023-08-29T16:44:34+00:00\",\"description\":\"In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS. Matrix Synapse is an open-source chat application written in\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp\",\"width\":742,\"height\":372,\"caption\":\"How to Install Matrix Synapse on Ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-matrix-synapse-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Matrix Synapse on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Matrix Synapse on Ubuntu 20.04 | LinuxCloudVPS Blog","description":"In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS. Matrix Synapse is an open-source chat application written in","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Matrix Synapse on Ubuntu 20.04 | LinuxCloudVPS Blog","og_description":"In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS. Matrix Synapse is an open-source chat application written in","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2022-06-15T17:30:00+00:00","article_modified_time":"2023-08-29T16:44:34+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/06\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Matrix Synapse on Ubuntu 20.04","datePublished":"2022-06-15T17:30:00+00:00","dateModified":"2023-08-29T16:44:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/"},"wordCount":465,"commentCount":4,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/06\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp","keywords":["matrix","synapse","ubuntu"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/","name":"How to Install Matrix Synapse on Ubuntu 20.04 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/06\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp","datePublished":"2022-06-15T17:30:00+00:00","dateModified":"2023-08-29T16:44:34+00:00","description":"In this tutorial, we are going to show you how to install Matrix Synapse on Ubuntu 20.04 OS. Matrix Synapse is an open-source chat application written in","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/06\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/06\/how-to-install-matrix-synapse-on-ubuntu-20.04.webp","width":742,"height":372,"caption":"How to Install Matrix Synapse on Ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-matrix-synapse-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Matrix Synapse on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1737"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1737\/revisions"}],"predecessor-version":[{"id":1979,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1737\/revisions\/1979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1738"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}