Skip to content

Latest commit

 

History

History

jitsi-token

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Jitsi-Token Installer

jitsi-token-installer installs a standalone Jitsi server with token authentication. This script guides the user during the installation to avoid potential problems.

Supported distributions

  • Debian 11 Bullseye
  • Debian 12 Bookworm
  • Ubuntu 20.04 Focal Fossa
  • Ubuntu 22.04 Jammy Jellyfish

Usage

  • Don't run this script on a working production server.
  • Don't run this script on your desktop machine.
  • Run it on an isolated environment such as a virtual machine or a cloud server.
  • Run it as root.
  • Follow the recommendations during the installation.

use root account

If you are not already root, switch to root account. Use one of the following commands to become root according to your system:

sudo su -l

or

su -l

download installer

apt-get update
apt-get install wget

wget -T 10 -O jitsi-token-installer https://raw.githubusercontent.com/jitsi-contrib/installers/main/jitsi-token/jitsi-token-installer

host addresses

  • Create a DNS A record for Jitsi. For example jitsi.yourdomain.com
  • Create a DNS A record for TURN. For example turn.yourdomain.com
  • Jitsi address and TURN address must be different and don't use an IP as the host address
  • Set related environment variables before starting the installer
export JITSI_HOST=jitsi.yourdomain.com
export TURN_HOST=turn.yourdomain.com

other customizations

If you wish to specify the JWT app_id and JWT app_secret then set the following environment variables before starting the installer. If you do not specify them, they will be generated for you.

export APP_ID=your_app_id
export APP_SECRET=your_app_secret

run the installer

bash jitsi-token-installer

see also

  • jitok, Jitsi token generator