aetherscale

[unmaintained] code for a cloud provider tutorial
Log | Files | Refs | README | LICENSE

jitsi-install.sh.jinja2 (784B)


      1 #!/usr/bin/env bash
      2 
      3 apt update
      4 apt -y upgrade
      5 apt -y install gnupg2 nginx-full apt-transport-https
      6 apt-add-repository universe
      7 apt update
      8 apt -y install openjdk-8-jdk
      9 
     10 hostnamectl set-hostname {{ hostname }}
     11 
     12 curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg'
     13 echo 'deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/' | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null
     14 apt update
     15 
     16 echo "jitsi-videobridge jitsi-videobridge/jvb-hostname string {{ hostname }}" | debconf-set-selections
     17 echo "jitsi-meet jitsi-meet/cert-choice select Self-signed certificate will be generated" | debconf-set-selections
     18 export DEBIAN_FRONTEND=noninteractive
     19 apt -y install jitsi-meet