Install Jitsi-meet by command line

I’m self-hosting Jitsi-Meet follow by the doc:

I’m using bashscript to automatic this progress.
In “Install Jitsi Meet” step( apt install jitsi-meet), I want to set the config automatically, from defined variables. Is any way to do it?
Thank you!

debconf-set-selections
2 Likes

As your suggest. I wrote:

JITSI_HOST=meet.mycompany.com
export APT_PROXY_OPTION=$APT_PROXY_OPTION

debconf-set-selections <<< \
    "jicofo jitsi-videobridge/jvb-hostname string $JITSI_HOST"
debconf-set-selections <<< \
    "jitsi-meet-web-config jitsi-meet/cert-choice select Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)"
apt-get $APT_PROXY_OPTION -y --install-recommends install jitsi-meet > /dev/null 2>&1

Is it good enough?

You probably won’t need APT_PROXY_OPTION. It’s only used if there is an internal apt-cacher in your network.

Set also DEBIAN_FRONTEND for noninteractive installation.

export DEBIAN_FRONTEND=noninteractive
1 Like