Reinstall Jitsi Meet with its own user on Nginx and GNU/Linux
These are the commands I ran to reinstall Jitsi on my server.
Create a user jitsi:
# adduser jitsi
Add the user jitsi to the sudo group:
# addgroups jitsi sudo
Switch user:
# su - jitsi
$
Ping hostname to check URL:
~$ ping -c 1 $(hostname) | grep packet
1 packets transmitted, 1 received, 0% packet loss, time 0ms
Install Prosody repository:
$ sudo curl -sL https://prosody.im/files/prosody-debian-packages.key -o /usr/share/keyrings/prosody-debian-packages.key
$ echo "deb [signed-by=/usr/share/keyrings/prosody-debian-packages.key] http://packages.prosody.im/debian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/prosody-debian-packages.list
sudo apt install lua5.2
See Jitsi’s documentation for lastest links.
Update aramo to jammy:
$ sudo vi /etc/apt/sources.list.d/prosody-debian-packages.list
Install Jitsi’s repository:
$ curl -sL https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg'
$ 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
$ sudo apt update
See Jitsi’s documentation for lastest links.
UFW was already set up from previous install.
I had to create this /usr/share/jitsi-meet/ (even though I have not install jitsi-meet) to pass as a parameter for the -w flag to generate a certificate — not sure if that was the right to do it but it worked.
# mkdir -p /usr/share/jitsi-meet/
Generate Letsencrypt certificate:
# certbot certonly -w /usr/share/jitsi-meet/ --rsa-key-size 4096 --agree-tos -w /var/www/letsencrypt -d talk.yctct.com --register-unsafely-without-email
Install Jitsi-meet:
$ sudo apt install jitsi-meet
personal computing command-line interface (cli) gnu linux trisquel shell literacy wiki jitsi