12/8/2023 0 Comments Install rocketchat ubuntu 20.04Jun 17 13:53:46 chat rocketchat: ➔ | Site URL: Jun 17 13:53:46 chat rocketchat: ➔ | ReplicaSet OpLog: Enabled Jun 17 13:53:46 chat rocketchat: ➔ | Platform: linux Jun 17 13:53:46 chat rocketchat: ➔ | MongoDB Engine: mmapv1 When see status as like same then access web url. Then run below command mongo -eval 'printjson(rs.initiate())' Then wait up to 10 – 20 min for complete installation process! Then run script file using below command./install-rocket-chat.sh No LSB modules are available.ĭefault via 10.66.100.10 dev enp0s3 proto staticġ0.66.0.0/16 dev enp0s3 proto kernel scope link src 10.66.100.40ĭownload script from my script portal. Step #01: Check my server ip and version using below command. ★ Download Rocket Chat Backup Script ★ Download Restore Rocket Chat Database Script This is very easy step for installation process. Paste the following into you hosts file, replacing yourdomainname.In this tutorial how to install Rocket Chat server using script on Ubuntu 20.04 server. Sudo nano /etc/nginx/sites-available/matrix We'll be setting SSL up a bit later via certbot.įirst, naturally, you need to install Nginx and create a virtual host file for your domain: sudo apt install nginx This will ensure you don't have to run Synapse with root privileges for users to connect via the default HTTPS port. With that done, you'll want to set up a reverse proxy. To apply the new configuration, you'll have to restart Matrix Synapse: systemctl restart matrix-synapse Configuring your Nginx reverse proxy and enabling SSL Press Ctrl + X to exit, and save the changes. # This is set in /etc/matrix-synapse/conf.d/server_name.yaml for Debian installations. Like this: registration_shared_secret: "rhp9aEnLMdlGgYHN6BrEvVYAP6Wd1YaS"Īlso change the server_name to match your domain name: After the =, add the key you generated earlier, in quotes. Search for registration_shared_secret by pressing Ctrl + W, then delete the # at the start of the line to uncomment. With that done, start editing your yaml by entering sudo nano /etc/matrix-synapse/homeserver.yaml. Your key will look something like this: rhp9aEnLMdlGgYHN6BrEvVYAP6Wd1YaS. 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. 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. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |