What is Jitsi Meet?
Jitsi Meet is a collection of free and open-source application that allows you to to build and deploy high-quality video conferencing platform. It’s a multi-platform application that can run on a different operating system such as Windows, Linux, macOS X, and Android.
Two main applications at the heart of Jitsi video conferencing platform:
- A Jitsi Videobridge: It is an application that allows you to build high-quality and scalable multiparty video conferencing applications. Rather than mixing videos, the Jitsi Videobridge just relays video and can be managed through XMPP, HTTPS, or Rest-API.
Why using Jitsi Meet?
- 100% free as freedom and open-source
- High-quality video and audio
- Small CPU and Memory consumption
- Share your desktops, presentations, etc
- Edit document together with Eteherpad
- Anonymous, no need for account
- integrated with encrypted chat
- Invite user with simple URL
What we will do?
In this tutorial, we will show you how to install Jitsi Meet on Ubuntu 20.04 Server. We will install Jitsi Meet packages, secure the installation with SSL from Letsencrypt and UFW firewall on the latest version of Ubuntu 20.04.4 Server.
For this guide, we will install the Jitsi Meet on the Ubuntu system with 2GB of RAM and 2 CPUs.
To complete this Jitsi Meet installation, you must have access to the Ubuntu 20.04 Server and have the root privileges.
Also, you must have the domain name for the Jitsi Meet installation, and make sure it’s resolved to your server IP address.
Before going ny further, run the sudo command below to get the root privileges.
After that, start the Jitsi Meet installation using the following steps.
Step 1 – Install Packages Dependencies
First, you must install some packages dependencies and enable the ubuntu ‘universe’ repository on your system.
Install the ‘gnupg2’ and ‘apt-transport-https’ using the apt command below.
apt install gnupg2 apt-transport-https
After that, you must enable the Ubuntu ‘universe’ repository and update all repositories on your system using the following command.
apt-add-repository universe apt update
As a result, you’ve installed some packages dependencies for the Jitsi Meet installation, and you’ve enabled the Ubuntu ‘universe’ repository on the Ubuntu 20.04 system.
Step 2 – Generate SSL Letsencrypt with Certbot
By default, the Jitsi Meet provides a bash for generating SSL Letsencrypt after it’s installation.
But, for this guide, you will generate the SSL Letsencrypt manually using the certbot tool. After that, you need to input the location path of your SSL certificate during the Jitsi Meet installation.
Install the certbot tool using the apt command below.
apt install certbot
Next, generate the SSL Letsencrypt for your Jitsi Meet domain name using the certbot command below.
certbot certonly --standalone --preferred-challenges http-01 --agree-tos --no-eff-email -m [email protected] -d meet.your-domain.com
Make sure to change the email address and domain name with your own.
Details certbot command used for generating SSL Letsencrpt:
–standalone: Create temporary web server for Letsencrypt authentication
–preferred-challenges: Specify the challenge authorization, you’re using the ‘http-01’ challenge for Authorization
–agree-tos: Automatically agree with the Letsencrypt TOS (Terms of Services)
–no-eff-email: No share email with EFF
Once the command is completed, your SSL certificates will be located at ‘
Check your SSL certificates using the ‘ls’ command below.
ls -lah /etc/letsencrypt/live/meet.your-domain.com/
As can be seen, you will get multiple SSL certificates. You need to the ‘fullchain.pem‘ as the public key, and the ‘privkey.pem‘ as the private key for the Jitsi Meet installation.
As a result, you’re ready to install the Jitsi Meet with your specific SSL certificates.
Step 3 – Add Jitsi Meet Key and Repository for Ubuntu 20.04
For this tutorial, you will install Jitsi Meet from the official Jitsi repository for the Ubuntu/Debian system. And you must add the Jitsi Meet GPG key and repository before start installing Jitsi Meet packages.
Add the Jitsi Meet GPG key and repository using the following commands.
curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg' echo 'deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/' | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null
After that, update all repositories on your Ubuntu system.
And as a result, you’re ready to install Jitsi Meet packages to your Ubuntu 20.04 Server.
Step 4 – Install Jitsi Meet on Ubuntu 20.04
At this stage, you’ve added the Jitsi Meet GPG key and repository. Now you will install Jitsi Meet packages from the official Jitsi repository.
Install Jitsi Meet packages using the apt command below.
apt install jitsi-meet
During the installation, you will be asked for the domain name and SSL certificates configuration.
Type your domain name for the Jitsi Meet installation and choose ‘OK‘.
For the SSL certificates configuration, choose the “second option” to use the specific SSL certificates.
Now type the full path of your SSL private key “/etc/letsencrypt/live/meet.your-domain.com/privkey.pem“.
After that, type the full path of your SSL public key “/etc/letsencrypt/live/meet.your-domain.com/fullchain.pem“.
Now wait for the Jitsi Meet installation will be completed.
As a result, you’ve successfully installed the Jitsi Meet on the Ubuntu 20.04 Server.
Step 5 – Secure Jitsi Meet with UFW Firewall on Ubuntu 20.04
The Jitsi Meet installation comes with different services and opens some system ports to make it works.
It’s always recommended to always using a firewall on your server, especially in the Production environment.
In this step, you will add some ports that used by the Jitsi Meet to the UFW firewall. Add the HTTP and HTTPS ports for Jitsi Meet web-based application, and add the port ‘10000-20000/udp’ for the Jitsi Video bridge service.
To add these Jitsi Meet ports, run the ‘ufw’ commands below.
for i in ssh http https 4443/tcp 10000:20000/udp do ufw allow $i done
Next, start the UFW service and enable it to run the boot time using the following command.
Type ‘y’ to enable the UFW firewall, and as a result, you’ve enabled the UFW firewall services on the Ubuntu system.
Additonally, check all available rules on the UFW firewall using the ufw command below.
ufw status verbose
Below is the result you will get.
As a result, you’ve successfully secured the Jitsi Meet installation using the UFW firewall. And you’re ready to start a new video conference using Jitsi Meet with your team.
Step 6 – Start First Video Conference using Jitsi Meet
To start the video conference using Jitsi Meet, you can use different client applications.
If you’re using a computer/laptop, you can use your web browser as your client, Jitsi Meet support various browser including the Mozilla Firefox, Google-Chrome, or Opera Browser. And for Android users, download the Jitsi Meet application for Android from F-Droid.
– Start Videe Conference with the Web Browser
In this step, you will create the first video conference using the web browser.
Open the web browser and type the Jitsi Meet installation URL on the address bar.
Now you will get the Jitsi Meet default index page.
To create a new room or join the conference, type the conference/room name and click the ‘Go‘ button.
Next, the server will ask for permission to access your mic and webcam through the web browser, click ‘OK‘ to allow both permissions.
After that, you will get the conference room with your team.
As a result, you’ve successfully logged in and/or created the room conference with your team using the Jitsi Meet.
And finally, you’ve completed the installation of Jitsi Meet on the latest Ubuntu 20.04 Server. Also, you’ve secured the Jitsi Meet with the SSL Letsencrypt and UFW firewall.