apt update -y && apt full-upgrade -y && apt install gnupg2 -y && wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add - && sh -c "echo 'deb https://download.jitsi.org unstable/' > /etc/apt/sources.list.d/jitsi-unstable.list" && apt update -y && apt install jitsi-meet -y
alterar o ficheiro /etc/systemd/system.conf e adicionar o que se segue:
DefaultLimitNOFILE=65000
DefaultLimitNPROC=65000
DefaultTasksMax=65000
https://aws.amazon.com/pt/blogs/opensource/getting-started-with-jitsi-a…
recarregar o systemd para incorporar as alterações:
systemctl daemon-reload
para desativar o ipv6 temos que editar o ficheiro /etc/sysctl.conf e nele adicionar o que se segue:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
aplicar as alterações:
sysctl -p
editar o ficheiro /etc/jitsi/videobridge/sip-communicator.properties e adicionar o que se segue:
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=10.116.102.12
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=193.236.43.99
org.ice4j.ipv6.DISABLED=true
para utilizar um certificado do letsencrypt:
You can now switch to a Let’s Encrypt certificate. To do so, execute:
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
encaminhamento de pacotes:
iptables -t nat -A PREROUTING -i enp4s0 -p tcp --dport 80 -j DNAT --to-destination 10.0.10.253
iptables -t nat -A PREROUTING -i enp4s0 -p tcp --dport 443 -j DNAT --to-destination 10.0.10.253
iptables -t nat -A PREROUTING -i enp4s0 -p udp --dport 10000 -j DNAT --to-destination 10.0.10.253
reiniciar serviços:
systemctl stop jicofo
systemctl stop jitsi-videobridge2
systemctl stop prosody
systemctl start jicofo
systemctl start jitsi-videobridge2
systemctl start prosody
https://github.com/jitsi/jitsi-meet/issues/3261
https://jitsi.org/downloads/
https://www.adamhyde.net/setting-up-jitsi-letsencrypt-cert-and-desktop-…
https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md
https://jitsi.org/user-faq/
https://community.jitsi.org/t/installation-of-jitsi-meet-works-fine-but…
autenticação - https://github.com/jitsi/jicofo/blob/master/README.md#secure-domain
sip - https://github.com/jitsi/jigasi
How is the videobridge connected? - https://community.jitsi.org/t/how-is-the-videobridge-connected/16524
bosh - https://reuniao.aefm.pt/http-bind
normal é:
It works! Now point your BOSH client to this URL to connect to Prosody.
For more information see Prosody: Setting up BOSH.