一、环境初始化
# 开启Ubuntu’s universe 更新源
sudo apt-add-repository universe
# 更新源最新的包版本信息
apt update
# 改主机名
sudo hostnamectl set-hostname meet.example.org
# 改主机名文件设置Fully Qualified Domain Name (FQDN)
vi /etc/hosts
127.0.0.1 localhost meet.example.org
# 测试主机名解析
ping “$(hostname)"
# 添加Jitsi 更新源
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
# 更新源最新包信息
sudo apt update
# 开通防火墙权限
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 4443/tcp
sudo ufw allow 10000/udp
sudo ufw allow 22/tcp
sudo ufw enable
# 检验防火墙策略是否生效
sudo ufw status verbose

二、安装、部署、优化、排错、附加组件
# 安装Jitsi Meet
sudo apt install jitsi-meet
# 免费证书自动续期,选装,非必须
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
# 修改内核参数
/etc/systemd/system.conf
DefaultLimitNOFILE=65000
DefaultLimitNPROC=65000
DefaultTasksMax=65000
# 检验内核参数是否生效
systemctl show –property DefaultLimitNPROC
systemctl show –property DefaultLimitNOFILE
systemctl show –property DefaultTasksMax
# 排错时,常用日志路径
/var/log/jitsi/jvb.log
/var/log/jitsi/jicofo.log
/var/log/prosody/prosody.log
# 附加功能安装sip-gateway,安装时将提示输入SIP的帐号密码
sudo apt install jigasi

======================
1、JITSI所用端口说明
80 TCP – for SSL certificate verification / renewal with Let’s Encrypt
443 TCP – for general access to Jitsi Meet
4443 TCP – for fallback network video/audio communications (when UDP is blocked for example)
10000 UDP – for general network video/audio communications
22 TCP – if you access you server using SSH (change the port accordingly if it’s not 22)

2、更换个性设置
Logos Change
/usr/share/jitsi-meet/images/watermark.png
Favicon Change
/usr/share/jitsi-meet/images/favicon.ico
Change welcome page content
/usr/share/jitsi-meet/libs/app.bundle.min.js

PS:
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-manual
https://gitlab.talview.com/meet/lib-jitsi-meet-v1/tree/59fc3642a6bc612ac0366d118718e942153b85c5
http://www.xmanong.com/project/12272