jitsi-token-installer
installs a standalone Jitsi server with token
authentication. This script guides the user during the installation to avoid
potential problems.
- Debian 11 Bullseye
- Debian 12 Bookworm
- Ubuntu 20.04 Focal Fossa
- Ubuntu 22.04 Jammy Jellyfish
- 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.
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
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
- Create a
DNS A record
for Jitsi. For examplejitsi.yourdomain.com
- Create a
DNS A record
for TURN. For exampleturn.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
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
bash jitsi-token-installer
- jitok, Jitsi token generator