Skip to content

Instantly share code, notes, and snippets.

@sanikkenway
Created December 30, 2021 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanikkenway/b6e5bc1024edd717459226349d76c153 to your computer and use it in GitHub Desktop.
Save sanikkenway/b6e5bc1024edd717459226349d76c153 to your computer and use it in GitHub Desktop.
Jitsi Deployment

*** Don't forget to change "jitsi.example.com" to your domain name ***

  1. Configure hostname. 1.1 Change the hostname to your domain name. sudo hostnamectl set-hostname jitsi.example.com 1.2 Add this line to /etc/hosts sudo nano /etc/hosts 127.0.0.1 jitsi.example.com

  2. Configure firewall. 2.1 Install and enable ufw. sudo apt install ufw -y sudo ufw enable 2.2 Open the following ports. sudo ufw allow ssh sudo ufw allow 80/tcp sudo ufw allow 443/tcp sudo ufw allow 4443/tcp sudo ufw allow 10000/udp 2.3 Confirm the changes. sudo ufw status

  3. Install Jitsi Meet. 3.1 Download and add the Jitsi GPG key. wget https://download.jitsi.org/jitsi-key.gpg.key sudo apt-key add jitsi-key.gpg.key 3.2 Remove the gpg key file. rm jitsi-key.gpg.key 3.3 Add the Jitsi repository. sudo nano /etc/apt/sources.list.d/jitsi-stable.list deb https://download.jitsi.org stable/ 3.4 Install Jitsi-Meet. sudo apt update sudo apt install jitsi-meet -y 3.5 Enter the domain name. 3.6 Select "Generate a new self-signed certificate".

  4. Generate a certificate. 4.1 Install certbot. sudo apt install certbot 4.2 Update install-letsencrypt-cert.sh to use certbot instead of certbot-auto. sudo sed -i 's/./certbot-auto/certbot/g' /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh 4.3 Make a symbolic link for the script. sudo ln -s /usr/bin/certbot /usr/sbin/certbot 4.4 Run the certificate install script. sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh 4.4 Close port 80. sudo ufw delete allow 80/tcp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment