Science and technology

Build a non-public chat server with a Raspberry Pi and Rocket.Chat

The web gives loads of free messaging companies. Applications like WhatsApp and Viber are a part of our day by day life and are the commonest approach we talk with kinfolk and pals. But safety consciousness is rising the demand for a really non-public chat resolution. Furthermore, messaging apps take up quite a lot of area in our units, so another chat channel could possibly be helpful to share media, information, and contacts with our pals.

Today we’re going to see methods to set up a non-public chat and messaging server with a Raspberry Pi and Rocket.Chat.

What is Rocket.Chat?

Rocket.Chat is an open supply resolution that gives an enhanced chat service. It consists of collaboration instruments like media sharing, display screen sharing, and video/audio calling help.

It can be utilized each by way of browser or from apps accessible in all the primary app shops (Google Play, App Store, and so forth.).

In addition to the neighborhood model, Rocket.Chat additionally gives Enterprise and Professional variations, together with help and extra options.

What we want

For this mission, I’m going to make use of a less expensive Raspberry Pi three mannequin A+. RPI three fashions B and B+, and RPI four mannequin B must also work in the identical approach.

I additionally recommend a performing SD card, as a result of Rocket.Chat can put a heavy workload on our Raspberry Pi. As mentioned in different articles, a performing SD card strongly improves Raspbian OS efficiency.

We’ll use a lite model of Raspbian with pre-configured WiFi entry and SSH service, so there’ll no want for keyboards or HDMI cables.

Step-by-step process

Start by installing the last version of Raspbian Buster Lite.

We’ll simplify Rocket.Chat set up through the use of Snap. Login by way of SSH and kind from the terminal:

sudo apt-get replace
sudo apt-get improve

Install Snap:

sudo apt-get set up snapd

For Snap set up, we want a system reboot to make it work:

sudo reboot

Login once more by way of SSH and set up the Rocket.Chat server with the easy command:

sudo snap set up rocketchat-server

After putting in from the terminal, please wait some time for Rocket.Chat to initialize its database and companies. Have a cup of tea, and after a couple of minutes you must be capable of attain together with your browser the tackle http://<<YOUR_RPI_IP_ADDRESS>>:3000 and you must see the next:

Complete the required types, and the whole lot ought to go superb. After 4 easy setup home windows, you must attain the Rocket.Chat house web page:

Enjoy!

This article initially posted on peppe8o.com, reposted with permission.

Most Popular

To Top