Could we help you? Please click the banners. We are young and desperately need the money
Jitsi is a collection of open-source projects which provide video conferencing capabilities that are secure, easy to use and easy to self-host.
First you have to make sure that your system is up to date and all of the required packages are installed. After checking that, run the following commands:
apt update apt install apt-transport-https apt update
Now that your system is ready, you have to decide what domain you're going to use. When you've chosen your domain let's set a DNS A-Record for that domain using:
To add the repository type the following commands in your Linux console:
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/sourced.list.d/jitsi-stable.list > /dev/null sudo apt update
The following ports need to be open in your firewall to allow traffic to the Jitsi Meet server:
If you are using ufw you can use the commands below:
ufw allow 80/tcp ufw allow 443/tcp ufw allow 10000/udp ufw allow 22/tcp ufw allow 3478/udp ufw allow 5349/tcp
Now you can go and check the firewall status with:
ufw status verbose
If you wanna have encrypted communications, you need a TLS certificate. The recommended option is to generate a new self-signed certificate. During the installation you can choose between "I want a self-signed certificate" or "I want to use my own certificate".
Type the following command into your Linux machine to install Jitsi Meet:
apt install jitsi-meet
SSL / TLS certificate generation: You are going to be asked what's your preference
Hostname: You will also be asked about the hostname for the Jitsi Meet instance. If you have a domain, use the specific domain name otherwise use the IP-adress.
To enable authentication for your Jitsi Meet instance you need to edit the file /etc/prosody/conf.avail/[yourdomain].cfg.lua
Inside the VirtualHost block replace the authentication from "anonymous" to "internal_plain":
Add the following block after the previous VirtualHost to enable anonymous login for guests:
Note that guest.jitsi is internal to Jitsi and you should not create a DNS record for it!
You have to edit the file /etc/jitsi/meet/[yourdomain]-config.js
Add the following parameters to the config, otherwise the authentication won't work:
You have to edit the Jicofo configuration because it will accept requests only from the authenticated domain. Insert a new line into the /etc/jitsi/jicofo/sip-communicator.properties file with the following contents:
org.jitsi.jicofo.auth.URL=XMPP.yourdomain
To create a new user you can simply run the following Prosody command:
prosodyctl register <username> meet.domain.com <password>
Now you have to restart all the services you made changes on:
systemctl restart prosody systemctl restart jicofo systemctl restart jitsi-videobridge2
Your Jitsi Meet installation should now be ready to go.