Jitsi: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
== Packages == | == Packages == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo apt update -y && sudo apt upgrade -y && sudo apt install -y gnupg openjdk-17-jre apt-transport-https ufw emacs-nox certbot | sudo apt update -y && sudo apt upgrade -y && sudo apt install -y gnupg openjdk-17-jre apt-transport-https ufw emacs-nox certbot curl | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 23:49, 8 November 2023
Links
- Self-Hosting Guide: https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart/
Setup
Host
- interserver.net: hellman.deadmandao.com
- namecheap.com: CNAME meet.bobbushman.com -> hellman.deadmandao.com
- Apache Note: "Nginx/Apache: As we prefer the usage of Nginx as webserver, the installer checks first for the presence of Nginx and then for Apache." - Jitsi
- IE: nginx is not required. (though Apache is second-class, so maybe it won't be automatic)
Packages
sudo apt update -y && sudo apt upgrade -y && sudo apt install -y gnupg openjdk-17-jre apt-transport-https ufw emacs-nox certbot curl
$ sudo apt install gnupg
$ sudo apt install openjdk-17-jre
$ sudo apt install apt-transport-https
$ sudo apt install ufw
$ sudo apt update
Hostname
$ sudo hostnamectl set-hostname meet.bobbushman.com
$ sudo emacs -nw /etc/hosts
# add 66.23.231.157 meet.bobbushman.com
$ ping meet.bobbushman.com
Jitsi Deb Repo
$ echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list
$ wget https://prosody.im/files/prosody-debian-packages.key -O- | sudo apt-key add -
$ sudo apt update
$ sudo apt install lua5.2
$ curl 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 > /dev/null
Firewall
$ sudo ufw allow 80/tcp
$ sudo ufw allow 443/tcp
$ sudo ufw allow 10000/udp
$ sudo ufw allow 22/tcp
$ sudo ufw allow 3478/udp
$ sudo ufw allow 5349/tcp
$ sudo ufw enable
$ sudo ufw status verbose
Jitsi Install
$ sudo apt install jitsi-meet
Dependency error
sudo apt update has a 410 error, missing signature. trying a different prosody repo
$ sudo curl -sL https://prosody.im/files/prosody-debian-packages.key -o /etc/apt/keyrings/prosody-debian-packages.key
$ echo "deb [signed-by=/etc/apt/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 update
same 410 error
Trying to debug.
$ sudo apt install jitsi-meet
dependency error, jits-meet-prosody, jitsi-meet-turnserver
$ sudo apt install jitsi-meet-prosody
dependency error prosody
$ sudo apt install prosody
Seems to have worked
$ sudo apt install jitsi-meet-prosody
dependency error prosody, 0.11.7 versus 0.11.2
Checked one of my Lightsail boxes, running Debian 11, it has a newer version of Prosody. Going to try lighting up on there.
Actually, trying to upgrade my interserver box to Deb 11 first.
$ sudo emacs /etc/apt/sources.list # change buster to bullseye
$ sudo apt update
$ sudo apt upgrade
$ sudo apt full-upgrade
$ sudo apt autoremove
Install Jitsi
$ sudo apt install jitsi-meet
Success!
Or maybe not.
Certificate error going to https://meet.bobbushman.com/
different errors on Firefox and Chromium
$ sudo apt install certbot
Fixed a few things, but haven't gotten the main problem yet.