Loading...

🚀 How to Install Jitsi Meet on Your Own Server: A Step-by-Step Guide

4 min read

✅ First: Create a New User for Better Security

Before you do anything, it’s best practice not to use the root user directly. Let’s create a new user:

~ sudo adduser jitsi 

You’ll be prompted to set a password and user details.


 

🔐 Second: Give Sudo Permissions to Your New User

To allow this new user to run commands as root:

~ sudo usermod -aG sudo jitsi 

Now you can switch to the new user with:

~ su - jitsi 

🛠 Third: Start the Jitsi Installation Process


Step 1 – Getting Started

First, update your server’s package list and upgrade installed packages:

~ sudo apt update -y sudo apt upgrade -y 

⚠️ Possible Issue: E: Sub-process /usr/bin/dpkg returned an error code (1)

This error usually occurs if your server is using BIOS instead of UEFI and has issues with GRUB packages. If you see this error, run the following commands:

~ sudo rm -rf /var/lib/dpkg/info/grub-efi-amd64-signed.*
~ sudo dpkg --remove --force-remove-reinstreq grub-efi-amd64-signed  
# Immediately fix the package manager:
~ sudo dpkg --configure -a
~ sudo apt-get install -f 

After this, your dpkg should work correctly again, and you can continue.


Step 2 – Add the Jitsi Meet Repository

Jitsi Meet is not in the default Ubuntu repositories, so we’ll add the official Jitsi and Prosody repositories.

Install Required Dependencies

~ sudo apt install curl gnupg2 wget -y 

Add the Jitsi GPG Key

~ curl https://download.jitsi.org/jitsi-key.gpg.key -o jitsi-key.gpg.key
~ gpg --output /usr/share/keyrings/jitsi-key.gpg --dearmor jitsi-key.gpg.key 

Create the Jitsi Source List

~ sudo nano /etc/apt/sources.list.d/jitsi-stable.list 

Paste this line into the file:

deb [signed-by=/usr/share/keyrings/jitsi-key.gpg] https://download.jitsi.org stable/

Save and close the file (Ctrl + O, Enter, Ctrl + X).


Add the Prosody GPG Key

~ sudo curl https://prosody.im/files/prosody-debian-packages.key -o prosody-debian-packages.key
~ sudo gpg --output /usr/share/keyrings/prosody-keyring.gpg --dearmor prosody-debian-packages.key 

Create the Prosody Source List

~ sudo nano /etc/apt/sources.list.d/prosody.list 

Paste this line:

deb [signed-by=/usr/share/keyrings/prosody-keyring.gpg] http://packages.prosody.im/debian jammy main

Save and close the file.


Step 3 – Install Jitsi Meet

Update the package list with the new repositories:

~ sudo apt update 

Then install Jitsi Meet:

~ sudo apt install jitsi-meet -y 

🔧 During Installation: Configuration Prompts

  1. Domain Name: You’ll be asked to provide your server’s domain name.

    • 📌 Tip: Make sure your domain already points to your server’s IP in DNS.

  2. SSL Certificate: Choose Let’s Encrypt to automatically get a free HTTPS certificate.

  3. Email Address: Enter a valid email so Let’s Encrypt can notify you of certificate renewals.

  4. Dial-in Support: When prompted, select No unless you specifically need dial-in features.


🎉 That’s it! Jitsi Meet is now installed and ready.

You can access your Jitsi server at:

https://yourdomain.com

Replace yourdomain.com with your actual domain name.


✅ Conclusion

By following this step-by-step guide, you now have a fully functional, self-hosted video conferencing platform with Jitsi Meet on your own server — and with Let’s Encrypt providing secure HTTPS.

Tags: