Introduction
Jitsi is a collection of free and open-source multiplatform voice (VoIP), video conferencing, and instant messaging applications for the web platform, Windows, Linux, macOS, iOS, and Android. The Jitsi project began with the Jitsi Desktop (previously known as SIPCommunicator). Jitsi is free for community use.
In this article, we will show how to install Jitsi-meet on Ubuntu 22.04.
Adding hostname in the host's file
Before adding the hostname, you need to copy the reverse DNS lookup from the instance level of the IDrive® Compute page.
- Adding the server’s hostname to its public IP address in the host's file.
The below line should be added to the host's file.$ sudo nano /etc/hosts
Save and close the file.(your_instance_ip_address) (your_domain_name or server_name)
Configuring the Firewall
To communicate with call participants, the Jitsi server requires some additional ports. Additionally, a port must be open to authenticate certificate registration requests during TLS installation.
- Allow the OpenSSH with
ufw
command.
Also, allow the following ports.$ sudo ufw allow OpenSSH
$ sudo ufw allow 80/tcp
$ sudo ufw allow 443/tcp
$ sudo ufw allow 3478/udp
$ sudo ufw allow 5349/tcp
$ sudo ufw allow 10000/udp - Enabling the
ufw
answer 'y' when prompted to enable ufw.$ sudo ufw enable
- Check the
ufw status
command.$ sudo ufw status
Output
Now all the initial setups are ready for installation of Jitsi meet.
Install Jitsi Meet
- Use curl to download the Jitsi GPG key.
$ sudo curl https://download.jitsi.org/jitsi-key.gpg.key -o jitsi-key.gpg.key
- With the gpg command, add the GPG key to your system's keyring.
$ sudo gpg --output /usr/share/keyrings/jitsi-key.gpg --dearmor jitsi-key.gpg.key
- By creating a new APT source file that contains the Jitsi repository, you can now add the Jitsi repository to your server.
$ sudo nano /etc/apt/sources.list.d/jitsi-stable.list
- Add the following line in
jitsi-stable.list
.
Save and close the file.deb [signed-by=/usr/share/keyrings/jitsi-key.gpg] https://download.jitsi.org stable/
- Following the same steps for adding the prosody package. Download the Prosody GPG key.
$ sudo curl https://prosody.im/files/prosody-debian-packages.key -o prosody-debian-packages.key
- With the gpg command, add the GPG key to your system's keyring.
$ sudo gpg --output /usr/share/keyrings/prosody-keyring.gpg --dearmor prosody-debian-packages.key
- Open and create the new file with the following command.
$ sudo nano /etc/apt/sources.list.d/prosody.list
- Add the following line to the Prosody list.
Save and close the file.deb [signed-by=/usr/share/keyrings/prosody-keyring.gpg] http://packages.prosody.im/debian jammy main
- Removing the GPG keys that you downloaded.
rm jitsi-key.gpg.key prosody-debian-packages.key
- Update the package index.
$ sudo apt update
- Install the
jitsi-meet
package.
During the installation of the Jitsi-meet package, you will be prompted to add the domain name$ sudo apt install jitsi-meet
(your_instance_ip_address or domain/server name)
Click 'OK' and a new dialog box will be displayed. - Select 'Generate a new self-signed certificate' from the dialog box and click the 'OK' link.
- Open the browser and enter the following below URL to start the meeting.
(your_instance_ip_address or domain/server name)
Output