Install Jitsi Meet On Ubuntu 20.04

First, you need to install the below-supported packages

sudo su
apt-add-repository universe
apt update
apt install -y gnupg2
apt install -y nginx-full
apt install -y apt-transport-https

OpenJDK 8 or OpenJDK 11 must be used. Check Java is installed or not by the below command

java -version

If the Java version is not shown, enter the below command

apt install -y openjdk-8-jre-headless
echo "JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")" | sudo tee -a /etc/profile
source /etc/profile

Setup hostname using the below command. Please replace to actual your domain name

sudo hostnamectl set-hostname
nano /etc/hosts

In /etc/hosts file check below lines x.x.x.x is the public address of your server. localhost

Save the file and then enter the below command. If ping shows the domain name, then it’s worked.

ping "$(hostname)"

For Ubuntu 18.04, add the Prosody package repository

echo deb $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list
wget -O- | sudo apt-key add -
apt update

The above package add prosody 11, so after installation make sure storage = "memory" in the file /etc/prosody/conf.avail/ change with your actual domain name.

Add Jitsi Meet package

curl | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg'
echo 'deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] stable/' | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null
apt update

Enable firewall its option

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
sudo ufw enable
sudo ufw status verbose
apt install jitsi-meet
sudo /usr/share/jitsi-meet/scripts/

Behind NAT settings – edit below file

nano /etc/jitsi/videobridge/

Add below line to /etc/jitsi/videobridge/ file<Local.IP.Address><Public.IP.Address>

Comment below line to /etc/jitsi/videobridge/ file

Save the file, and restart JVB

Increase system limit

Edit /etc/systemd/system.conf and add below lines


Check value updated on not run below command

systemctl show --property DefaultLimitNPROC
systemctl show --property DefaultLimitNOFILE
systemctl show --property DefaultTasksMax

Run the below command to update changes

sudo systemctl daemon-reload
sudo systemctl restart jitsi-videobridge2
sudo systemctl status jitsi-videobridge2
cat /proc/`cat /var/run/jitsi-videobridge/`/limits

Leave a Reply