How to Install Jitsi Meet on Ubuntu 22.04

From PheonixSolutions
Jump to navigation Jump to search

How to Install Jitsi Meet on Ubuntu 22.04

Prerequisite

  1. Server root login credentials.

Step1:

Log in to your Ubuntu or Centos server as a user with sudo privileges. You can use SSH or directly access the server.

  ssh root@IP address

Step2:

First, you will need to update all your system packages to the latest version. You can update all the packages using the following command.

  apt update -y
  apt upgrade -y

Step3:

By default, the Jitsi Meet package is not available in the Ubuntu default repository. So you will need to add the Jitsi Meet official repository to APT.

Firstly, install all the required dependencies using the following command.

  1. apt install curl gnupg2 wget -y

Once all the packages are installed, download and import the Jitsi Meet GPG key with the following command.

  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

Step4:

Next, create a source list file for Jitsi using the following command.

  vi /etc/apt/sources.list.d/jitsi-stable.list

Add the Jitsi Meet repository as shown below.

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

Save and close the file when you are finished.

Step5:

Next, you will also need to import the Prosody GPG key. You can download and import it with the following command.

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

Step6:

Then, create a sources list file for Prosody with the following command.

  vi /etc/apt/sources.list.d/prosody.list

Add the following line.

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

Save and close the file when you are done. You can now proceed to install Jitsi Meet.

Step7:

Now, you install the Jitsi Meet package by running the following command.

  apt install jitsi-meet -y

During the Jitsi Meet installation, you will be asked to provide your domain name as shown below.

  1. provide your valid domain name and press the OK button. You will be asked to select the SSL certificate as shown below.

  2. Select the Let’s Encrypt SSL and click on the Ok button. You will be asked to provide your email address as shown below.

  3. Provide your email address and press the Ok button. You will be asked to enable dial in support as shown below.

  4. Click on the No button to finish the installation.

By default, anyone can access the Jitsi Meet and create conference rooms. For security reasons, securing the Jisti Meet with password authentication is a good idea.

To enable the password authentication, edit the Jisti Meet configuration file.

  vi /etc/prosody/conf.avail/jitsi.linuxbuz.com.cfg.lua

Change the following line:

  authentication = "internal_plain"

Next, add the following lines at the end of the file.

  VirtualHost "guest.jitsi.linuxbuz.com&quot
  authentication = "anonymous"
  c2s_require_encryption = false
  modules_enabled = {
  "bosh";
  "ping";
  "pubsub";
  "speakerstats";
  "turncredentials";
  "conference_duration";
  }

Save and close the file when you are finish. Then, edit the another configuration file.

  vi /etc/jitsi/meet/jitsi.linuxbuz.com-config.js

Change the following line.

  anonymousdomain: 'guest.jitsi.linuxbuz.com',

Save and close the file when you are done. Next, create another configuration file.

  vi /etc/jitsi/jicofo/sip-communicator.properties

Add the following line.

  org.jitsi.jicofo.auth.URL=XMPP:jitsi.linuxbuz.com

Save and close the file then create a user for Jitsi Meet with the following command.

   prosodyctl register user jitsi.linuxbuz.com yourpassword

You should see the following output.

   general warn Lua 5.1 has several issues and support is being phased out, consider upgrading

Finally, restart the Jitsi Meet services to apply the configuration.

  systemctl restart prosody.service jicofo.service jitsi-videobridge2.service

Step8:

Access Jitsi Meet Web UI

At this point, Jitsi Meet is installed and secured with password based authentication. You can now access the Jitsi Meet using the URL https://jitsi.linuxbuz.com. You should see the following screen.

How to change the logo in Jisti meet

Please follow the below steps

Download the image from your local for this format android-chrome-512x512.svg

Move to the image path of the logo image

  mv android-chrome-512x512.svg /usr/share/jitsi-meet/images/

Open the below file and change the file name

  vi /usr/share/jitsi-meet/interface_config.js


After that will come the new logo