Guía de Hospedaje Mismo encontrado en Jitsi
|
Esta documentación no se ha actualizado en un tiempo. Es posible que parte de la información ya no sea válida. Puede encontrar la última versión de la documentación original en https://jitsi.github.io/handbook/docs/devops-guide/ |
La plataforma de videoconferencia Jitsi permite a los usuarios crear reuniones virtuales, conferencias y sesiones de colaboración, entre otros usos destacados. La pila de videoconferencia Jitsi proporciona:
-
Jitsi Meet (
jitsi-meet): una aplicación cliente basada en web por participantes de conferencia -
Jitsi Videobridge (
jitsi-videobridge): un componente del lado del servidor de la pila Jitsi. Actúa como un centro central para videoconferencias, a las que los participantes pueden unirse accediendo a una URL de conferencia única generada desde el servidor. Jitsi Videobridge gestiona las transmisiones de sonido y vídeo entre los participantes de la conferencia y proporciona la infraestructura necesaria para una experiencia fluida. -
Configuraciones de webserver (
jitsi-meet-nginx) y (jitsi-meet-apache): componentes que ayudan a servir el cliente web Jitsi Meet para manipular solicitudes HTTPS en curso. -
Configuración para Prosody (
jitsi-meet-prosody): un componente del lado del servidor que proporciona autenticación y gestión de usuarios, así como gestión de salas de conferencias. Garantiza una comunicación segura dentro de la pila de videoconferencias de Jitsi. -
Jicofo (
jicofo): un componente en lado de servidor para gestión de conferencia, control de participación y enrutado de medio.
Instalar Jitsi
Las instrucciones de instalación son similares a las instrucciones oficiales de Debian/Ubuntu. Las diferencias notables son:
-
Lugares del archivo levemente diferentes
-
Los componentes
JicofoyJitsi Videobridgeregistran la bitácora asyslogen lugar de a su propios archivos logfiles. -
El componente
Jicofose ejecuta desde un servicio, no desde un scriptinit.
-
Small server, which is accessible from the Internet
-
Domain name and an SSL certificate for that domain
-
Enable the
jitsirepository:$ sudo dnf copr enable lcts/jitsi
-
Install the
jitsimeta package to be able to configure a Jitsi server:$ sudo dnf install jitsi
Alternatively, you can install other packages from the
jitsirepository:-
jitsi-meet- the Jitsi Meet web app -
jitsi-meet-nginx- Jitsi configuration for NGinx -
jitsi-meet-apache-Jitsi configuration for Apache -
jitsi-meet-prosody- Jitsi configuration for Prosody -
jitsi-videobridge- the Jitsi Videobridge component -
jicofo- the Jitsi Conference Focus component
-
-
After installation, you need to configure all packages before you use them. For more information, see the
/usr/share/doc/<package>/README-fedora.mdfile. -
You can report issues with packages at jitsi-rpm queue.
If you encounter problems with software, contact the respective upstream developers.
Configurar Jitsi
After installation, you need to perform a few additional configuration steps. The steps consist of replacing various placeholder variables with your values to ensure that Jitsi is correctly configured to work in your specific deployment. The placeholders are identified by underscores for example __variableName__.
In all files, replace __jitsiFQDN__ with the fully-qualified domain name of your instance and __<component>Secret__ with a strong random password. You need three secrets:
-
__focusSecret__ -
__focusUserSecret__ -
__jvbUserSecret__
You do not need to memorize the secrets. They are only used by different Jitsi components to communicate to each other.
Configuring Jitsi Prosody
You can find Prosody configuration for Jitsi in the /etc/prosody/conf.d/jitsi-meet.cfg.lua file.
-
Generate the SSL/TLS certificate for the Jitsi domain:
$ prosodyctl cert generate __jitsiFQDN__
You need to replace
__jitsiFQDN__with the actual domain name of your Jitsi installation. The generated certificate secures the Jitsi Meet web interface and enables encrypted communication. -
Generate the SSL/TLS certificate for the auth subdomain:
$ prosodyctl cert generate auth.__jitsiFQDN__
The
authsubdomain is typically used for authentication purposes in Jitsi Meet. Replace__jitsiFQDN__with your Jitsi domain name to generate the certificate for the auth subdomain. -
Add the Jitsi domain certificate as a trusted anchor to ensure that it is recognized as a valid certificate by the system:
$ trust anchor /var/lib/prosody/__jitsiFQDN__
The certificate file is typically located at
/var/lib/prosody/__jitsiFQDN__. Therefore you need to replace__jitsiFQDN__with the actual domain name to specify the correct file path. -
Add the auth subdomain certificate as a trusted anchor:
$ trust anchor /var/lib/prosody/auth.__jitsiFQDN__
The certificate file is expected to be located at
/var/lib/prosody/auth.__jitsiFQDN__. Replace__jitsiFQDN__with your Jitsi domain name to provide the accurate file path. -
Register a user with the username
focusin the Prosody XMPP server:$ prosodyctl register focus auth.__jitsiFQDN__ __focusUserSecret__
The
focususer is a special user for Jitsi Meet conference management and coordination. It is responsible for example for creating and controlling conferences. Theauth.__jitsiFQDN__portion specifies the domain where the user is registered. + Replace__jitsiFQDN__with your Jitsi domain name. The__focusUserSecret__is the password or secret associated with thefocususer. Replace__focusUserSecret__with a strong and secure password. -
Register a user with the username
jvbin the Prosody XMPP server:$ prosodyctl register jvb auth.__jitsiFQDN__ __jvbUserSecret__
The
jvbuser is used by Jitsi Videobridge component to handle video streams in Jitsi Meet. Theauth.__jitsiFQDN__portion specifies the domain where the user is registered.Replace
__jitsiFQDN__with your Jitsi domain name. The__jvbUserSecret__is the password or secret associated with thejvbuser. Replace__jvbUserSecret__with a strong and secure password. -
Habilita e inicia el servicio prosody:
$ sudo systemctl enable --now prosody
Configuring Jitsi Meet
-
Locate the
/etc/jitsi-meet/config.jsconfiguration file. -
Replace the placeholder variables in
config.js.
Configuring Jitsi webserver
-
Configure an HTTPS server for
__jitsiFQDN__.
-
Para Apache:
-
Replace the placeholders in the
/etc/httpd/conf.d/jitsi-meet.conffile. -
Reiniciar el servicio
httpd:$ sudo systemctl restart httpd
-
-
For Nginx:
-
Replace the placeholders in the
/etc/nginx/conf.d/jitsi-meet.conffile. -
Reiniciar el servicio
nginx:$ sudo systemctl restart nginx
-
Configurando Jicofo
-
Replace the
__jitsiFQDN__and__focusSecret__placeholder variables in/etc/jicofo/configand/etc/jicofo/sip-communicator.propertiesfiles. -
Habilita e inicia
jicofo.service:$ sudo systemctl enable --now jicofo.service
Configurando puente de video Jitsi
-
Open the port
10000/udpif you use Network Address Translation (NAT):-
Install the
jitsi-videobridge-firewalldpackage to obtain service definition forjitsi-videobridge.service -
Use the service definition to configure
firewalldto open10000/udpfor Jitsi Videobridge.
-
-
Replace the
__jitsiFQDN__and__jvbUserSecret__placeholders in the/etc/jitsi-videobridge/jvb.conffile. -
Enable and start
jitsi-videobridge.service:$ sudo systemctl enable --now jitsi-videobridge.service
-
/etc/sysconfig/jitsi-videobridge
Para más información consulte jitsi
Want to help? Learn how to contribute to Fedora Docs ›