Jitsi is an open-source video conferencing application based on WebRTC.
Installation
What’s up, guys? Today I will show you how to set up a Jitsi Meets server. Jitsi is an open-source video conferencing application based on WebRTC. Jitsi meet will allow you to have a multi-person video conferencing room that you can access from your browser, similar to zoom and google meets.
One cool thing about Jitsi conferences is that the data is hosted from your server, so wherever it’s installed, this is where the data will pass. So you don’t have to worry about one of these big corporations snooping on your meetings, possibly recording your interactions with others. Within the video above, I will walk you through how to set up one of these servers on your own in the cloud.
Commands
Step 1 - Set System Hostname
For each command replace ‘domain’ with your real domain. Example: jitsi.keepittechie.com
sudo hostnamectl set-hostname jitsi.domain
Verify changes to hostname using this command.
hostname
Set server’s hostname to its public IP address within /etc/hosts
sudo nano /etc/hosts
Add the Public IP address under the 127.0.0.1 localhost
line.
Example: 1.2.3.4 jitsi.domain
Step 2 - Configure the Firewall with UFW
Open Port for SSH connections:
sudo ufw allow OpenSSH
Open Port for Jitsi Server:
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 5349/tcp
sudo ufw allow 3478/udp
sudo ufw allow 10000/udp
Enable firewall by running:
sudo ufw enable
Check the Firewall Status:
sudo ufw status
Step 3 - Add Jitsi Repository
Download the Jitsi GPG key with the curl command:
curl https://download.jitsi.org/jitsi-key.gpg.key -o jitsi-key.gpg.key
Add the GPG key to your system using the gpg command:
sudo gpg --output /usr/share/keyrings/jitsi-key.gpg --dearmor jitsi-key.gpg.key
Add the Jitsi repository by creating a APT sources file which contains the Jitsi repository:
sudo nano /etc/apt/sources.list.d/jitsi-stable.list
Add line to file:
deb [signed-by=/usr/share/keyrings/jitsi-key.gpg] https://download.jitsi.org stable/
Save and close the editor.
Step 4 - Add Prosody Repository
Download the Prosody GPG key with the curl command:
curl https://prosody.im/files/prosody-debian-packages.key -o prosody-debian-packages.key
Add the GPG key to your system using the gpg command:
sudo gpg --output /usr/share/keyrings/prosody-keyring.gpg --dearmor prosody-debian-packages.key
Add the Prosody repository by creating a APT sources file which contains the Prosody repository:
sudo nano /etc/apt/sources.list.d/prosody.list
Add line to file:
deb [signed-by=/usr/share/keyrings/prosody-keyring.gpg] http://packages.prosody.im/debian jammy main
Save and close the editor.
Step 5 - Installation
Refresh Repository
sudo apt update
Install Jitsi
sudo apt install jitsi-meet -y
Two prompts will popup during the installation of jitsi-meet.
1st Prompt: jitsi.your_domain
2nd Prompt: Select the first option, Generate a self-signed certificate option.
Step 5 - Configure Jitsi
Open jitsi.your_domain.cfg.lua with your text editor:
sudo nano /etc/prosody/conf.avail/jitsi.domain.cfg.lua