How to install Jitsi Meet on CentOS 8

236

In this tutorial, we will show you how to install Jitsi Meet on CentOS 8. For those of you who did not know, Jitsi Meet is one of the open source video conferencing tools on the market. Jitsi Meet is a simple, elegant and secure alternative to Zoom, Skype and Google Meet, which supports all standard browsers and even mobile devices.

This article assumes that you have at least basic knowledge of Linux, know how to use the shell and most importantly, that you host your website on your own VPS. The installation is quite simple and requires you to run in the root account, otherwise you may need to add ‘sudoto the commands for root privileges. I show you step by step the installation of Jitsi Meet on a CentOS 8.

Install Jitsi Meet on CentOS 8

Step 1. First of all, make sure that all packages are up to date.

sudo dnf update
sudo dnf install yum-utils

Step 2. Install Docker and Docker Composer.

Docker Enterprise Edition requires an active license to use. In this guide, we install Docker CE on CentOS 8. Let’s add a Docker archive before we can install it:

sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

The docker-ce-stable a repository is now activated on our system. The repository contains several versions of the docker-ce package, to show them all we can run:

dnf list docker-ce --showduplicates | sort -r

You can install the latest version of Docker CE with the command below:

sudo dnf install docker-ce

In CentOS, systemd is responsible for managing which services start when the system starts up. This means that you can activate this with a single command:

sudo systemctl start docker
sudo systemctl enable docker

Then install Docker compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.28.6/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Step 3. Install Jitsi Meet on CentOS 8.

Now we clone the Git archive for the Docker-based Jitsi Meet instance and switch to the folder it downloads with this command:

git clone https://github.com/jitsi/docker-jitsi-meet
cd docker-jitsi-meet
cp env.example .env

Then we need to create the directories required for Jitsi Meet:

mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody,jicofo,jvb}
docker-compose up -d
docker ps

Step 4. Configure firewall.

If you have a firewall running before you can access Jitsi Meet from a web browser, you must run the following commands to open the required firewall ports:

sudo firewall-cmd --zone=public --add-port=80/tcp --permanent
sudo firewall-cmd --zone=public --add-port=443/tcp --permanent
sudo firewall-cmd --zone=public --add-port=8443/tcp --permanent
sudo firewall-cmd --zone=public --add-port=4443/tcp --permanent
sudo firewall-cmd --zone=public --add-port=10000/udp --permanent
sudo firewall-cmd --reload

Step 5. Access Jitsi on CentOS.

Visit now https://your-ip-address:8443 then you will be able to start the conference. To transmit audio, you must allow the browser to use your microphone. And to transfer video, you need to allow the browser to access your camera.

Congratulations! You have installed Jitsi. Thank you for using this guide to install Jitsi Meet on your CentOS 8 system. For further help or useful information, we recommend that you check the official Jitsi website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More