Home » Centos/RHEL » Install jisti-meet video conferencing server on Ubuntu 18

Install jisti-meet video conferencing server on Ubuntu 18

Install jisti-meet video conferencing …..

https://en.wikipedia.org/wiki/Jitsi
Jitsi may be a collection of free and open-source multiplatform voice (VoIP), videoconferencing and instant messaging applications for the online platform, Linux, macOS, Windows, iOS and Android.The Jitsi project began with the Jitsi Desktop (previously referred to as SIP Communicator). With the expansion of WebRTC, the project team focus shifted to the Jitsi Video Bridge for allowing web-based multi-party video calling. Later the team added Jitsi Meet, a full video conferencing application that has web, Android, and iOS clients. Jitsi also operates meet.jit.si, a version of Jitsi Meet hosted by Jitsi for free of charge community use. Other projects include: Jigasi, lib-jitsi-meet, Jidesha, and Jitsi…….In this tutorial you will learn that how to Install jisti-meet video conferencing server on Ubuntu 18.
http://www.linuxpcfix.com/how-to-setup-mariadb-galera-cluster-on-centos/

Setting the System Hostname
In this step, you will setup the system’s hostname, The server hostname should be match the domain name that you want to use for your Jitsi Meet VPS/Instance and hostname should be point to the localhost IP, 127.0.0.1. Jitsi Meet uses both of these settings when it installs and generates its configuration files.

[linuxpcfix.com~]sudo hostnamectl set-hostname jitsi.linuxpcfix.com
[linuxpcfix.com~]vi /etc/hostname
[linuxpcfix.com~]

Now Verify that this was successful by running the following:

[linuxpcfix.com~]hostname
jitsi.linuxpcfix.com

Then, add the following line in /etc/hosts file:

vi /etc/hosts
127.0.0.1 jitsi.your-domain

Installing Jitsi Meet
In this step, To install the jitsi-meet you have to add the Jitsi stable repository on your server and after that install the Jitsi Meet package from the repository.
First, download the Jitsi GPG key with the wget downloading utility:

[linuxpcfix.com~]wget https://download.jitsi.org/jitsi-key.gpg.key

We will use the apt package manager to add GPG key to validate the packages which will get download from the Jitsi repository.
Next, add the downloaded GPG key using following command:

[linuxpcfix.com~]sudo apt-key add jitsi-key.gpg.key
[linuxpcfix.com~]

Now, we will add the Jitsi repository on the server by generating a new source file that hold the Jitsi repository. Open and create the new file with your favorite editor:

[linuxpcfix.com~] sudo vi /etc/apt/sources.list.d/jitsi-stable.list
[linuxpcfix.com~]

Add this line to the file for the Jitsi repository:

/etc/apt/sources.list.d/jitsi-stable.list
deb https://download.jitsi.org stable/

save and close the editor

Finally, execute the following command to update the system update to fetch the packages list from the Jitsi repository.

[linuxpcfix.com~]sudo apt update
[linuxpcfix.com~]
[linuxpcfix.com~]sudo apt install jitsi-meet
[linuxpcfix.com~]

When you run the installation command the jitsi installer will ask the domain name so you will have to exnter the domain name (for example, jitsi.your-domain) that you want to use for your Jitsi Meet instance

After a new dialog box will be shown and will ask to create and use a self-signed TLS certificate or use an existing one you already have:

If you do not have a own TLS certificate for your Jitsi domain select the first, Generate a new self-signed certificate, You can later obtain a signed certificate
Obtaining a Signed TLS Certificate
In this tutorial we are using Lets’encrypt certificate so follow the below steps.

[linuxpcfix.com~]sudo add-apt-repository ppa:certbot/certbot
[linuxpcfix.com~]apt install certbot

Your server is now ready to run the TLS certificate installation program provided by Jitsi Meet:

[linuxpcfix.com~]sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
[linuxpcfix.com~]

Locking Or Enable Authentication For Conference
In this step, we will enable and configure authentication for Jitsi Meet server to only allow registered users to create conference rooms.
The variable your_domain will be used to replacement of a domain name in the following examples.
First, open sudo nano /etc/prosody/conf.avail/jitsi.linuxpcfix.com.cfg.lua with a text editor:

[linuxpcfix.com~]sudo nano /etc/prosody/conf.avail/your_domain.cfg.lua
[linuxpcfix.com~]

Edit this line:
/etc/prosody/conf.avail/your_domain.cfg.lua

authentication = “anonymous”


To the following:
/etc/prosody/conf.avail/your_domain.cfg.lua

authentication = “internal_plain”


This configuration instruct Jitsi Meet to force username and password authentication before allowing conference room creation by a new visitor.
Then, in the same file, append the below section to the end of the file:
/etc/prosody/conf.avail/your_domain.cfg.lua

VirtualHost “guest.your_domain”
authentication = “anonymous”
c2s_require_encryption = false

This configuration permits non authenticate users to join conference rooms which created by an authenticated user. However, the guest must have a unique address and an optional password for the room to enter it.
Here, you added guest. As prefix of your domain name. For instance, for jitsi.your-domain you would put guest.jitsi.your-domain. The guest. hostname is only used internally by Jitsi Meet. You will never enter it into a browser or need to create a DNS record for it.
Open another configuration file at /etc/jitsi/meet/your_domain-config.js with a text editor:

[linuxpcfix.com~]sudo nano /etc/jitsi/meet/your_domain-config.js
[linuxpcfix.com~]

Edit this line:
/etc/jitsi/meet/your_domain-config.js

// anonymousdomain: ‘guest.linuxpcfix.com,

To the following:
/etc/jitsi/meet/your_domain-config.js

anonymousdomain: ‘guest.your_domain’,


Again, by using the guest.your_domain hostname that you used earlier this configuration tells Jitsi Meet what internal hostname to use for the un-authenticated guests.
Next, open /etc/jitsi/jicofo/sip-communicator.properties:

[linuxpcfix.com~]sudo nano /etc/jitsi/jicofo/sip-communicator.properties
[linuxpcfix.com~]

And append the following rows to complete the configuration changes:
/etc/jitsi/jicofo/sip-communicator.properties

org.jitsi.jicofo.auth.URL=XMPP:your_domain

This configuration points one of the Jitsi Meet processes to the local server that performs the user authentication that is now required.
Your Jitsi Meet instance is now designed so that only listed users can create conference rooms. After a conference room is produced, anyone can join it without needing to be a registered user. All they will need is the unique conference room address and an optional password set by the room’s creator.
Now that Jitsi Meet is designed to require or need authenticated users for room creation you need to register these users and their passwords. You will use the prosodyctl utility to do this.
Execute the following command to add a user to your server:

[linuxpcfix.com~]sudo prosodyctl register user your_domain password
[linuxpcfix.com~]

The above user that you added is not a system or normal linux user. They will only be able to create a conference room and are not able to log in to your server via SSH.
Now finally perform the restart command to load the new configuration:

[linuxpcfix.com~]sudo systemctl restart prosody.service
[linuxpcfix.com~]
[linuxpcfix.com~]sudo systemctl restart jicofo.service
[linuxpcfix.com~]
[linuxpcfix.com~sudo systemctl restart jitsi-videobridge2.service
[linuxpcfix.com~]

The Jitsi Meet will now open a request box for username and password when a conference room is created.

Enjoy! As iIn this tutorial you learnt that how to Install jisti-meet video conferencing server on Ubuntu 18

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud