Tutorial to learn the steps for installing Jitsi Meet on Ubuntu 24.04 or 22.04 LTS Server for setting up your own free and open-source video conferencing service solution.
What is Jitsi Meet?
Jitsi is another competitor for Skype and offers free telephony and chat features, but it is ad-free and an open-source video conferencing tool. That differentiates it from other well-known video conferencing programs besides Skyper, such as Zoom, Microsoft Teams, or WhatsApp video calls. Moreover, being an open-source project, its source code is available for everyone and doesn’t collect user data. Another advantage of Jisti over other video telephony applications is that you do not have to register to use it or even download and install any software. Jitsi can be used directly via the browser. This makes it particularly easy to use.
Using the SIP or XMPP protocol, Jitsi allows you to make free calls (including video), chat, send files, or share the screen. Sip will also enable you to make regular (chargeable) phone calls. Conversations can be saved directly in the app as an MP3 file. For this purpose, all transmission protocols, the bandwidth used, and encryption (for example, via ZRTP) can be viewed via an info button. All Jitsi functions can be found in the Overview on the developer’s website. If you want to start the video chat without any software, you can access the web app Jitsi Meet to fall back.
Steps to install Jisti Meet on Ubuntu 24.04 or 22.04 LTS Linux
What do you need to install Jisit Meet? To follow this tutorial, you should have an Ubuntu 24.04 or 22.04 server or an earlier version with at least 2GB of free RAM; the recommended one is 8 GB. Having non-root sudo user access and a fully qualified domain name.
1. Update Ubuntu 24.04 or 22.04 Server
Let’s run the system update command to fully upgrade our Ubuntu 24.04 or 22.04 server to its latest state. This will also install all the available security updates.
sudo apt update && sudo apt upgrade
Also, install wget
sudo apt install wget
2. Set FQDN for Jisti
If you already have a fully qualified domain, such as jisti.example.com, you can set it as a hostname on your Ubuntu 24.04 or 22.04 server using the given commands.
Here, we are using the domain name- jisti.how2shout.com; you can use the one you have.
sudo hostnamectl set-hostname jisti.example.com
Now, edit your system’s host file and point the public IP address to FQDN
sudo nano /etc/hosts
Add the following line to that file:
x.x.x.x jisti.example.com
Note: replace x.x.x.x with your public IP address and jisti.example.com with the fully qualified domain you have.
To confirm your FQDN is successfully set, ping the domain name you have configured, for example:
ping jisti.example.com
In reply, you have your server’s public IP address.
Reboot your system:
sudo reboot
3. Add the Jisti GPG key and repository
We need to manually add the Jisti Meet package repository to our Ubuntu 24.04 or 22.04 because it is unavailable through Ubuntu’s standard repository.
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
sudo apt update
4. Install the Nginx Web Server
We need a web server to serve Jisti over a web browser, and you can choose either Apache or Nginx. Here, we are opting for Nginx. The host configuration file required for Jisti will automatically be created while Jisti is installed in the next step.
sudo apt install nginx-full
Enable and start its services:
sudo systemctl enable --now nginx.service
5. Jisti Meet on Ubuntu 24.04 or 22.04
Finally, we will come to the crucial part of the tutorial: installing the Jisti meet using our APT package manager on Ubuntu 24.04 or 22.04.
sudo apt install jitsi-meet
Set hostname
While installing Jisti, the setup will ask you to enter the hostname you have set, such as jitsi.example.com.
When you get a “Configuring Jitsi-meet-web-config” window, select any one among the “Generate a new Self-signed certificate,” “Let’s Encrypt certificate,” or ” I want to use my own certificate” options.
To check the Jisti service status, use:
sudo systemctl status jitsi-videobridge2
Whereas for restarting it in the future, we can use:
sudo systemctl restart jitsi-videobridge2
6. Allow ports in the Firewall
If you use an Ubuntu 24.04 or 22.04 server on a hosting or Cloud service, whitelist or allow the following ports in its firewall.
TCP ports: 80, 443, 22, 3478, 5349
UDP Port: 10000
Whereas those who have an active UFW firewall can use the given command:
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 10000/udp
sudo ufw allow 22/tcp
sudo ufw allow 3478/udp
sudo ufw allow 5349/tcp
7. Generate a Let’s Encrypt certificate (optional)
If you already have a generated SSL certificate while installing Jitsi Meet or some third-party service such as Cloudflare, you don’t need to generate an SSL certificate. You can use yours. However, if you want to generate it manually, then here are the commands:
sudo apt install certbot
sudo sed -i 's/\.\/certbot-auto/certbot/g' /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
sudo ln -s /usr/bin/certbot /usr/sbin/certbot
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
8. Visit the Jitsi Meet Web interface
Now, open your system’s browser and point it to the fully qualified domain name you have set for Jitsi as the hostname to access its web interface for starting meetings.
9. Uninstall or Remove
If you don’t like this free and open-source video conferencing software, you can remove it from your server; here is the command to do that.
sudo apt purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge2
Other Articles:
- Enable or disable the firewall on Ubuntu 22.04 LTS Jammy Linux
- How to install UFW Firewall on Ubuntu 22.04 LTS Jammy
- How to Install WordPress on Ubuntu 22.04
- Check internet speed using the command
- How to Install JetBrains toolbox Ubuntu 24.04 or 22.04 LTS
- Install Opera Browser on Ubuntu 24.04 or 22.04 LTS Linux
- How to install Apache Tomcat 10 on Ubuntu 24.04 or 22.04 LTS
- Install Jenkins on Ubuntu 24.04, 22.04 or 20.04 Linux