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
In this tutorial, we will show you how to install Jitsi Meet on Ubuntu 18.04 Server. We will install Jitsi Meet packages, secure the installation with SSL from Letsencrypt and UFW firewall on the latest version of Ubuntu 18.04.4 Server.
For this guide, we will install the Jitsi Meet on the Ubuntu system with 2GB of RAM and 2 CPUs. Also, you must have the root privileges and make sure you can log in to the server.
To complete this Jitsi Meet installation, you must have access to the Ubuntu 18.04 Server and has the root privileges.
Also, you must perform and complete the following tutorials before starting the Jitsi Meet installation:
- Install Java OpenJDK 11: By default, the Jitsi Meet will automatically install the Java OpenJDK during its installation process. But, for this guide, we will specify the Java version with Java OpenJDK 11 for our Jitsi Meet installation.
- Have a domain name: The Jitsi Meet will run under the domain name. Make it easy to access and remember. Also, it’s needed for generating SSL from Letsencrypt.
Once you’ve finished with these tutorials, continue with the following steps.
Step 1 – Generate SSL Letsencrypt with Certbot
By default, the Jitsi Meet provides a bash for generating SSL Letsencrypt after it’s installation.
For this step, you will generate the SSL Letsencrypt manually using the certbot tool. And during the Jitsi Meet installation, you will be prompted to use specific SSL certificates.
Install the certbot tool using the apt command below.
apt install certbot
After that, generate the SSL Letsencrypt using the certbot command as below. And make sure to change the domain name and the email address with your own.
certbot certonly --standalone --preferred-challenges http-01 --agree-tos --no-eff-email -m [email protected] -d meet.your-domain.com
About the certbot command used:
–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 ‘
/etc/letsencrypt/live/meet.your-domain/‘ directory. And you’re ready to install the Jitsi Meet with your specific SSL certificates.
Step 2 – Add Jitsi Meet Key and Repository
For this tutorial, you will install Jitsi Meet from the official Jitsi repository for the Ubuntu/Debian system. And you must add the Jitsi GPG key and repository before start installing Jitsi Meet packages.
Add the Jitsi Meet GPG key and repository using the following commands.
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add - sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
After that, update all repositories on your Ubuntu system.
And as a result, you’re ready to install Jitsi Meet packages to your Ubuntu 18.04 Server.
Step 3 – Install Jitsi Meet Packages
At this stage, we’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 configuration.
Now type your Jitsi Meet domain name installation and choose ‘OK‘.
For the SSL configuration, choose the second option for using specific SSL certificates.
Now type the full path of your private key.
Type the full path of your public key.
And the Jitsi Meet installation will be completed.
As a result, you’ve successfully installed the Jitsi Meet on the Ubuntu 18.04 Server.
Step 4 – Secure Jitsi Meet with UFW FIrewall
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 using the ‘ufw’ commands below.
for i in ssh http https 10000:20000/udp do ufw allow $i done
Now run and enable the UFW firewall.
Type ‘y’ to enable the UFW firewall, and you’ve enabled the UFW firewall services on the Ubuntu system.
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 5 – 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.
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.
Now 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 18.04 Server. Also, you’ve secured the Jitsi Meet with the SSL Letsencrypt and UFW firewall.