Difference between revisions of "User:Paul/sandbox/Install Jitsi Meet"

From UNPM.org Wiki
Jump to navigation Jump to search
(Created page with "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 t...")
 
 
Line 7: Line 7:
 
Configure per the Initialize VPS and Using Ubuntu Server articles.
 
Configure per the Initialize VPS and Using Ubuntu Server articles.
  
For the Install Nginx article, install without configuring.
+
For the Install Nginx article, install <code>nginx</code> without configuring.
  
sudo aptitude install gnupg2 openjdk-11-jre apt-transport-https
+
sudo -i
 +
aptitude install gnupg2 openjdk-11-jre apt-transport-https
 +
hostnamectl set-hostname meet.example.org
  
sudo hostnamectl set-hostname meet.example.org
+
Install the latest version of <code>prosody</code> ([https://community.jitsi.org/t/how-to-how-do-i-update-prosody/72205 from this forum post]):
  
 +
 +
cp /etc/prosody
 +
echo deb <nowiki>http://packages.prosody.im/debian</nowiki> $(lsb_release -sc) main | tee -a /etc/apt/sources.list
 +
wget <nowiki>https://prosody.im/files/prosody-debian-packages.key</nowiki> -O- | apt-key add -
 +
apt-get update
 +
apt-get install prosody
  
 
https://jitsi.github.io/handbook/docs/devops-guide/secure-domain
 
https://jitsi.github.io/handbook/docs/devops-guide/secure-domain
  
nano /etc/prosody/conf.avail/[your-hostname].cfg.lua
+
sudo nano /etc/prosody/conf.avail/[your-hostname].cfg.lua
  
 
Change:
 
Change:
Line 43: Line 51:
 
             // { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
 
             // { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
 
         ]
 
         ]
 
  
 
  nano /etc/jitsi/jicofo/sip-communicator.properties
 
  nano /etc/jitsi/jicofo/sip-communicator.properties
  
 
Add
 
Add
  org.jitsi.jicofo.auth.URL=XMPP:jitsi.mostlybsd.com  
+
  org.jitsi.jicofo.auth.URL=<nowiki>XMPP:jitsi.mostlybsd.com</nowiki>
 +
 
 +
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 <code>storage</code>, change:
 +
    storage = "memory"
 +
 
  
 
  sudo prosodyctl register <username> jitsi-meet.example.com <password>
 
  sudo prosodyctl register <username> jitsi-meet.example.com <password>
  sudo systemctl restart prosody
+
  sudo systemctl restart prosody jicofo jitsi-videobridge2
 
  sudo systemctl restart jicofo
 
  sudo systemctl restart jicofo
 
  sudo systemctl restart jitsi-videobridge2
 
  sudo systemctl restart jitsi-videobridge2
 
  sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
 
  sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

Latest revision as of 21:30, 18 August 2021

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