Install Rocket.Chat on Debian 10

Rocket.Chat is a free and open source self hosted chat server that allows you to easily keep in contact with friends, family, colleagues, or customers. In this guide, we’ll be installing Rocket.Chat on a Debian 10 Cloud Server using the Snap package.

Prerequisites

A Cloud Server running Debian 10

Access to the root or admin user

Install Rocket.Chat snap

As Debian does not include snapd out of the box, we’ll first have to install it with apt.

sudo apt install snapd

Install Rocket.Chat with snapd.

sudo snap install rocketchat-server

Configure Rocket.Chat

Next, we’ll configure Rocket.Chat in the web interface.

SSH Tunnel

Rocket.Chat requires you to access your server from the local network for initial setup. We can get around this with an SSH tunnel. If your local machine is a Mac or Linux-based, create the tunnel by running this command from your local machine’s terminal, replacing with your cloud server’s IP address:

ssh root@ -L 8888:localhost:3000

If you are running Windows, the most popular way to run SSH is using the free PuTTY tool which can be downloaded here.

Configure Rocket.Chat

Once you have your ssh tunnel in place, navigate to http://localhost:8888 in your local web browser.

Go through the prompts to create your account and register with Rocket.Chat if you choose.

Once done, you can access your Rocket.Chat instance at http://:3000 or via one of the Rocket.Chat clients found here.

Leave a Reply

Your email address will not be published. Required fields are marked *