User:Paul/sandbox/Install Jitsi Meet

From UNPM.org Wiki
Jump to navigation Jump to search

Jitsi is a mature and stable open source project for voice and video communications.

This tutorial installs Jitsi Meet, and popular project for facilitating meetings.

Note that Frantech does not include aptitude, so first apt update && apt upgrade before installing aptitude

Configure per the Initialize VPS and Using Ubuntu Server articles.

For the Install Nginx article, install nginx without configuring.

sudo -i
aptitude install gnupg2 openjdk-11-jre apt-transport-https
hostnamectl set-hostname meet.example.org

Install the latest version of prosody (from this forum post):


cp /etc/prosody
echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | tee -a /etc/apt/sources.list
wget https://prosody.im/files/prosody-debian-packages.key -O- | apt-key add -
apt-get update
apt-get install prosody

https://jitsi.github.io/handbook/docs/devops-guide/secure-domain

sudo nano /etc/prosody/conf.avail/[your-hostname].cfg.lua

Change:

   authentication = "internal_hashed"

Add new VirtualHost for anonymous guests:

VirtualHost "guest.jitsi-meet.example.com"
    authentication = "anonymous"
    c2s_require_encryption = false
nano /etc/jitsi/meet/[your-hostname]-config.js
var config = {
    hosts: {
            domain: 'jitsi-meet.example.com',
            anonymousdomain: 'guest.jitsi-meet.example.com',
            ...
        },
        ...
}
        stunServers: [

            { urls: 'stun:jitsi.example.com:3478' },
            // { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
        ]
nano /etc/jitsi/jicofo/sip-communicator.properties

Add

org.jitsi.jicofo.auth.URL=XMPP:jitsi.mostlybsd.com
sudo nano /usr/share/jitsi-meet/interface_config.js 

Comment the following line:

//    DEFAULT_LOGO_URL: 'images/watermark.svg',

Uncomment the following line:

    hideLobbyButton: false,

This removes the Jitsi logo watermark from videos, but note the change will be reverted with future updates.

sudo nano /etc/prosody/conf.d/jitsi-meet.example.com.cfg.lua

For all three storage, change:

    storage = "memory"


sudo prosodyctl register <username> jitsi-meet.example.com <password>
sudo systemctl restart prosody jicofo jitsi-videobridge2
sudo systemctl restart jicofo
sudo systemctl restart jitsi-videobridge2
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh