Skip to content

pregalla/jitsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installer for jitsi-meet, jigasi and jibri

The script (jitsi_setup.sh) can be used to install stable version of all 3 on a stand-alone server.

This is simply a script version of quick-install document at https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart

Always Installs below mentioned software:

nginx, prosody, jitsi-meet-prosody, jitsi-meet, jitsi-meet-web, jitsi-meet-web-config, jitsi-meet-turnserver, jicofo, jitsi-videobridge2

Below are optional, will be installed only if opted for:

Also has option for configuring:

Supported Platforms

  • Ubuntu-16/18/20
  • Debian-9/10

Usage

Run it either as root user or a user with sudo privileges

bash jitsi_setup.sh (Run without any arguments)

Options

[check_prerequisites|show_installed_versions|install|uninstall|help|
    export_config_file_template|show_status_of_services|Quit]
  1. check_prerequisites Check if all prerequisites are met, like mandatory configuration options
  2. show_installed_versions Display versions of all jitsi software(s)
  3. install Will install all jitsi components listed below:

nginx, jitsi-meet, prosody, jicofo, jitsi-videobridge, jigasi, jibri

  1. uninstall Will stop services & uninstall all jitsi components listed below:

nginx, jitsi-meet, prosody, jicofo, jitsi-videobridge, jigasi, jibri

  1. help Display help/usage
  2. export_config_file_template Dump configuration file template to current directory
  3. show_status_of_services Displays status(running or not) of all jitsi software(s)
  4. Quit Quit setup

Mandatory configuration options

export BEHIND_NAT=yes/no ("no" if the server has a public IP on one of it's interfaces, else "yes")
export SERVER_FQDN="server's FQDN" (This will be used to access the web conferences)

export PUBLIC_IP="public ip of server" (mandatory only if BEHIND_NAT is "yes")
export PRIVATE_IP="private ip of server" (mandatory only if BEHIND_NAT is "yes")

Other optional variables

export HOST_NAME=HOSTNAME_OF_SERVER (Default: Result of command 'hostname')
export SIP_USER_ID=SIPUSER@SIPHOST
export SIP_PASSWORD=PASSWORD_FOR_SIPUSER
export JIGASI_TRANSCRIPTS_DIR=/directory/to/store/transcripts (Default: "/etc/jitsi/transcripts") 
export JIBRI_RECORDINGS_DIR=/directory/to/store/transcripts (Deafault:  "/etc/jitsi/recordings")
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/google/credentials/file

For more options, dump the config file template using "export_config_file_template" option and check...

You may either export variables from terminal or uncomment those lines in the config file...

If the config file(jitsi_config_file) is present in the same directory as the installer, options specified in config file will take precedence

About

Installer for Jitsi, Jigasi, and Jibri

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages