Jitsi Install Script For Ubuntu/Debian (also Jigasi and Jibri)

I have converted the instructions mentioned in below links to an installer script(GitHub - pregalla/jitsi: Installer for Jitsi, Jigasi, and Jibri), for installing stable versions of jitsi-meet, jigasi and jibri, all on the same server. I think it would be useful for at least a few people who wants to test/use jitsi.

  1. jitsi-meet: Self-Hosting Guide - Debian/Ubuntu server · Jitsi Meet Handbook
  2. jigasi: GitHub - jitsi/jigasi: Jigasi: a server-side application acting as a gateway to Jitsi Meet conferences. Currently allows regular SIP clients to join meetings and provides transcription capabilities.
  3. jibri: GitHub - jitsi/jibri: Jitsi BRoadcasting Infrastructure

Have tested it on Ubuntu-16/18/20 & Debian-9/10.

It is available at GitHub - pregalla/jitsi: Installer for Jitsi, Jigasi, and Jibri

Besides jitsi-meet, jigasi, and jibri, it has secure domain, jigasi authentication, transcription setup(Google/Vosk) too.

You just have to export a few environment variables(first 2(or 4) are mandatory) before running it.

export BEHIND_NAT=yes/no (“no” if the server has public IP assigned on one of it’s interfaces, else “yes”)
export SERVER_FQDN=FQDN_OF_SERVER(Example: meet.example.com)
export PUBLIC_IP=SERVER_PUBLIC_IP (mandatory only if BEHIND_NAT=yes)
export PRIVATE_IP=SERVER_PRIVATE_IP (mandatory only if BEHIND_NAT=yes)
export JIGASI_TRANSCRIPTS_DIR="/etc/jitsi/transcripts" (or some other directory)
export JIBRI_RECORDINGS_DIR="/etc/jitsi/recordings" (or some other directory)
export GOOGLE_APPLICATION_CREDENTIALS="/home/your_user/google_credentials.json" (or some other file)

Hope this will be useful.
Any feedback/comments/improvements are welcome.

@Freddie @damencho It may be a better idea to have this(or similar) as part of repositories. Could not find one already, hence the suggestion.


There are a lot of stuff that is already handled by the packages and is not needed - like deleting folders stoping/starting services, system.conf settings, nat settings…
And if something is missing, you better add it to the debian packages.

Other than that, thanks for sharing it with the community, someone may find it useful and use it. And indeed it automates a lot of stuff from the docs.

1 Like

There was a line(line #4) which needs to be commented. I could not edit the post, hence attaching it here again.

  1. Download from github
  2. Remove .txt extension: mv jitsi_ubuntu_setup.sh.txt jitsi_ubuntu_setup.sh
  3. change permissions: chmod 755 jitsi_ubuntu_setup.sh
  4. Run: ./jitsi_ubuntu_setup.sh

(removed attachment) Download from GitHub - pregalla/jitsi: Installer for Jitsi, Jigasi, and Jibri

1 Like

It’s possible to use directly the GitHub link

wget -O /tmp/jitsi_ubuntu_setup https://raw.githubusercontent.com/pregalla/jitsi-meet/jitsi-installer/jitsi_ubuntu_setup.sh
bash /tmp/jitsi_ubuntu_setup

Added installation of jibri too.

Tested on Debian-10 and Ubuntu-20.