Koozali.org: home of the SME Server

installer un instance Jitsi-meet sur SME 9.2 ?

Offline lurey

  • *
  • 78
  • +0/-0
installer un instance Jitsi-meet sur SME 9.2 ?
« on: June 03, 2020, 11:09:56 AM »
Bonjour,
je me demandais s'il y a une manière pas trop compliquée d'installer une instance de vidéo conférence jitsi sur mon serveur, histoire de pouvoir faire se retrouver une bande d'amis "localement"...
Deux types de réponses m'intéresseraient :

- est-ce une idée stupide, soit de l'utilisation de jitsi, soit de l'utilisation de SME ...?
Est-ce par exemple illusoire de penser qu'un serveur local pour une réunion de gens du même coin (sur la même commune) serait plus fluide que passer par les (lointains ?) serveurs de jitsi meet (mon SME est en connexion fibre d'assez bonne qualité)

- quelqu'un a-til fait une telle installation, connait-il un how-to adapté à SME que je n'ai pas su trouver, a-t-il des pistes... (j'ai vu des choses sur une install avec centOs v7, on n'y est pas encore - malgré des efforts et un travail que je salue d'autant plus qu'il me dépasse totalement - et je ne connais pas assez pour prendre le risque de "transposer" seul sur mon serveur !)

... bon, oui, ça porte un peu les stigmates du confinement  :-? !
 Pour tout dire : je m'occupe d'un groupe choral qui n'a plus ni le droit ni de lieu pour chanter depuis presque 3 mois, et ça risque de durer, la déprime gagne chez les choristes, et j'aimerais proposer ce moyen de se retrouver au moins sur le plan humain (pas possible de chanter en vidéo conférence, il y aura toujours trop de décalages...)
« Last Edit: June 03, 2020, 11:46:19 AM by lurey »
Bricoleur informatique, qui speak très mal english... merci de votre indulgence !

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #1 on: June 03, 2020, 12:56:59 PM »
The jitsi-meet self-hosting documentation makes it look like the easiest option is debian/ubuntu.

Centos support looks tricky.  The howtos I find online indicate you'll need Centos 8.  SME 9.2 is based on Centos 6.

The docker install page is almost 4 times longer than the debian/ubuntu page - I don't know if this reflects better documentation or higher complexity.

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #2 on: June 03, 2020, 05:37:45 PM »
In my experience there is no 'easy' way. Just difficult, or more difficult. They really don't want you running it yourself - they want you to use their own hosted meet which is where they earn their money.

I currently run mine on a dedicated Devuan ASCII instance - it is a lot better since jitsi-videobridge2

Jitsi
deb https://download.jitsi.org stable/

I think you will need Prosody as well.

Prosody
deb https://packages.prosody.im/debian stretch main

CentOS does not look easy..... You could use docker, but it is not for the faint hearted. Link provided earlier by Mike.

This is the main site the video-bridge:

https://jitsi.org/jitsi-videobridge/

Note that they are liable to overwrite your settings on update without a second thought so BEFORE any updates make sure back up everything....

I would love to see it running on SME as a contrib with LDAP authent but it is a huge amount of work.

Docker would probably be the easiest way to do it, but it needs more refinement on my docker contrib code plus other work as well.

I simply do not have the time.

I clearly need to retire!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline rhodan

  • *
  • 12
  • +0/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #3 on: June 08, 2020, 11:25:38 AM »
... bon, oui, ça porte un peu les stigmates du confinement  :-? !
 Pour tout dire : je m'occupe d'un groupe choral qui n'a plus ni le droit ni de lieu pour chanter depuis presque 3 mois, et ça risque de durer, la déprime gagne chez les choristes, et j'aimerais proposer ce moyen de se retrouver au moins sur le plan humain (pas possible de chanter en vidéo conférence, il y aura toujours trop de décalages...)


Français
Bonjour. J’espère de ne pas être « off topic », mais aujourd’hui il est possible de répéter à distance, je le fais depuis 3 mois et ça fonctionne très bien. Le programme s’appelle Jamulus, est Open Source, existe depuis 2006 et est toujours très bien suivi (surtout maintenant).

Jamulus fonctionne de telle sorte que tout les clients streament vers le serveur, qui mixe, compresse et renvoie le mix vers tout les participants. Jamulus tourne sur Windows, Mac et Linux et installe un serveur et un client sur votre ordinateur. Vous n’avez pas besoin de lancer le serveur si vous préférez vous connecter sur un des serveurs publiques autour de vous. Dans ce cas vous n’aurez même pas à faire une redirection de port, mais dans le cas ou vous souhaitez utiliser le serveur (pour que autres musiciens puissent se connecter chez vous), vous aurez besoin d’ouvrir le port 22124 UDP sur votre box et le diriger sur l’ordinateur hébergeant le serveur Jamulus. Actuellement j’ai un serveur Jamulus sur une machine Ubuntu-Studio, car il n-y a aucune information comment compiler le code source de Jamulus sur une machine tournant sur CentOS.

Pourtant il n’y a pas de vidéo dans Jamulus, mais sur YouTube il y a plusieurs vidéos des personnes qui ont utilisées Zoom ou Jitsy en parallèle de Jamulus .

English
Hello. I hope not to be "off topic", but today it is possible to rehearsal over the internet, I have been doing it for 3 months now and it works very well. The program is called Jamulus, is Open Source, exists since 2006 and is still very well followed (especially now).

Jamulus works in such a way that all clients stream to the server, which mixes, compresses and sends the mix back to all the participants. Jamulus runs on Windows, Mac and Linux and installs a server and a client on your computer. You do not need to start the server if you prefer to connect to one of the public servers around you. In this case you will not even have to do a port forwarding, but in the case where you want to use the server (so that other musicians can connect to your home), you will need to open port 22124 UDP on your box and direct it to the computer hosting the Jamulus server. Currently I have a Jamulus server on an Ubuntu-Studio machine, because there is no information how to compile Jamulus source code on a machine running on CentOS.

However, there is no video in Jamulus, but on YouTube there are several videos of people who have used Zoom or Jitsy in addition to Jamulus.

Links
Téléchargement (code source pour Linux) :
https://sourceforge.net/projects/llcon/files/Jamulus/

Wiki :
https://github.com/corrados/jamulus/wiki

YouTube
Jamulus Chamber(s) Choir snapshot :
https://youtu.be/4VyGqtVoCF8

Mini-Concert Jazz Day with Nathalie Loriers :
https://youtu.be/MpSIYxZMHw8

Jamulus Storband. Swedens first virtual big band :
https://youtu.be/JDp7m1yOYjI

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #4 on: June 08, 2020, 11:38:01 AM »
Nice !

Quote
The required minimum internet connection speed is 200 kbps (0.2Mbps) for the up and down-stream. The ping time (i.e. round trip delay) from your computer to the server should not exceed 40 ms average.

The speed is OK - but many would struggle with 40ms ping !!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline rhodan

  • *
  • 12
  • +0/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #5 on: June 08, 2020, 12:11:29 PM »
Nice !

The speed is OK - but many would struggle with 40ms ping !!

Sure, but I think they are speaking about the overall delay, this means the time it takes to send to the server, to get mixed and to come back to your computer. I’m on a fiber connection at the French provider Free, people connecting to my server get a ping of 2 to 5 ms and an overall delay of 25 to 35 ms if they are on fiber. The speed of sound is 340 m/sec, so 35 ms is corresponding at 11,9‬ metres in real life. I can only say that it works for me and many others.

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #6 on: June 08, 2020, 06:08:46 PM »
For those of you lucky enough to live in a pace that has fibre or decent cable then it is fine (cities or larger towns).

I have two locations in different countries both with 2 standard ADSL lines. The ping rates to my French based servers varies wildly. Anything from 30ms for Paris - London up to 180ms from Paris to Spain. And never the same same two days running or the same on both lines.....

Right now my two lines here to the same server - one has 70ms and the other 180ms.....

The two UK lines currently have one at 35ms and one at 45ms.

Plays havoc with my VOIP !!

I'd die to have a consistent 35ms to my servers all day every day.....

It is easy to forget that there are still a lot of people with horrendous rural broadband. It is NOT the same for all.

Hence... YMMV :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline lurey

  • *
  • 78
  • +0/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #7 on: June 16, 2020, 02:43:33 PM »
Bonjour,
Un grand merci de vos réponses, idées, aides et suggestions… (Rhodan, je vais me renseigner sur ce Jamulus, si ça permet de travailler ensemble en ligne !)
Je garde pour réponse principale (pour moi) que non, vu mon niveau, rien n'est facilement installable sur mon serveur SME.
Du coup,  j'ai imaginé monter un autre serveur sous Ubuntu (c'est l'occasion d'apprendre) que j'utiliserai juste pour ça (il ne tournerait qu'aux moments utiles). J'ai déjà commencé par l'installation Ubuntu serveur en vue d'installer Jitsi dessus. (je pourrai aussi essayer Jamulus ensuite !)
Jitsi demande un certificat ssl, et l'installation prévoit un script pour l'établir auprès de Letsencrypt…
 Et là, je me pose des questions :
SME étant serveur et passerelle, le serveur Ubuntu est derrière, l'hôte de type "jitsi.mondomaine" pourrait être déclaré dans le server-manager de SME et renvoyé sur l'adresse (locale) du serveur Ubuntu.
- si j'ajoute "jitsi.monserveur" au certificat de mon serveur SME (qui concerne déjà d'autres "sites.monserveur"), le certificat est installé… sur le serveur SME, mais pas sur le serveur Ubuntu qui traite jitsi… est-ce que ça peut fonctionner ?
- sinon, l'installation pour Ubuntu fournit un script pour obtenir – et installer – un certificat par Letsencrypt… mais est-ce que ça peut fonctionner en passant par l'intermédiaire de SME ?
Je vais continuer mes essais, mais si vos idées m'évitent de faire des âneries… ou de m'entêter là où ça ne mène à rien, je suis preneur !

(english... with help of... G...traduction  :sad:)
Hello,
Thank you very much for your answers, ideas, help and suggestions…  (Rhodan, I'll find out more about this Jamulus, if it allows us to work together online!)
The main answer (for me) is… no, nothing of that is easily installable on my SME server.
Then, I imagined mounting another Ubuntu-server (this is an opportunity to learn) that I'll use just for that (it would run only when useful). I already started with installing Ubuntu server,  in order to install jitsi on it. (I could also try Jamulus on it afterwards!)
Jitsi requests a ssl certificate, …
And there, I have questions:
SME is server and gateway, the Ubuntu server is behind, a host "jitsi.mondomaine" could be declared in SME's server-manager and send to the (local) address of the Ubuntu server.
- if I add "jitsi.monserver" to the certificate of my SME server (which already concerns other "sites.monserver"), the certificate will be installed… on the SME server, but not on the Ubuntu server which processes jitsi… should it work?
- if not ; the installation for Ubuntu provides a script to obtain - and install - a certificate by Letsencrypt… but can it work "through" SME?
I'll continue tests, but if your ideas prevent me from making nonsense ... or from stubbornly where it leads to nothing, I am interested!


Bricoleur informatique, qui speak très mal english... merci de votre indulgence !

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #8 on: June 16, 2020, 05:02:22 PM »
That is not going to be easy assuming you have a single IP address.

Letsencrypt certificates - I know you can copy them to another server with the hook script (read the wiki page)

You *might* be able use:

https://wiki.contribs.org/SME_Server:Documentation:ProxyPass

But I am also not sure exactly which ports get proxied.

You could *potentially* run a reverse proxy on SME server. It is the most logical way. BUT. That is not so easy......

https://debamax.com/blog/2020/03/18/installing-jitsi-behind-a-reverse-proxy/

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline lurey

  • *
  • 78
  • +0/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #9 on: June 17, 2020, 11:53:00 AM »
Bonjour !

Voila mes premières étapes de tâtonnement...
1) concernant le certificat Letsencrypt, j'ai :
  - ajouté "jitsi.mondomaine" au certificat qui couvrait déjà mes différents sites sur SME (avec dehydrated)
  - copié manuellement le certificat et la clé générés sur le serveur SME à la place des fichiers générés par l'installation de Jitsi (certificat auto-signé).
  > ça marche !
2) "jitsi.mondomaine" est enregistré :
  - dans les DNS de mon registrar, pointant (comme "mondomaine") vers l'adresse IP externe de ma connexion (box fibre)
  - sur SME comme hôte local de "mondomaine", à l'IP du serveur Ubuntu (sur réseau interne 192.168.1.21)
  > d'un poste interne, (192.168.1.x) https://jitsi.mondomaine permet de démarrer une conférence jitsi, avec micro et caméra.
  > de l’extérieur, https://jitsi.mondomaine va sur la page de... "mondomaine" (ibay Primary sur SME)

... comme il était tard hier soir, je me suis arrêté là pour l'instant !

to Rhodan :
the use of jamulus is far too complicated for members of my choir (for whom jitsi is already a strange adventure !)... but I keep the idea for other meetings of musicians that I could do! Thank you for making me discover !
« Last Edit: June 17, 2020, 12:02:01 PM by lurey »
Bricoleur informatique, qui speak très mal english... merci de votre indulgence !

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #10 on: June 17, 2020, 12:34:11 PM »
Voila mes premières étapes de tâtonnement...

Here are my first steps of trial and error ...

Yes, it is going to be a 'trial'.....

And here is why....

Quote
from the outside, https: //jitsi.mondomaine goes to the page for ... "mondomaine" (ibay Primary on SME)

Getting the certificate is trivial. Doing the next bit is not........
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline lurey

  • *
  • 78
  • +0/-0
Re: installer un instance Jitsi-meet sur SME 9.2 ?
« Reply #11 on: June 17, 2020, 03:14:25 PM »
Quote
Getting the certificate is trivial. Doing the next bit is not........
Yes, of what is trivial am I often capable , but the rest requires that I learn a lot... thanks to (... and thanks for -) your encouragement !
Quote
You *might* be able use:
https://wiki.contribs.org/SME_Server:Documentation:ProxyPass
(...) But I am also not sure exactly which ports get proxied.
tu veux dire, quels ports le proxy de SME peut transmettre vers le serveur interne ?

J'ai lu et relu, je vais faire des essais... ce soir / I did read and reread, I'll do trial-s tonight ...

Pour Jtsi, j'ai noté sur un howto que les ports nécessaires sont :
  - 80/tcp utilisé dans la demande de certificat TLS. / for TLS certificate request (but maybe... only if done by their letsencrypt-script) ?
  - 443/tcp utilisé pour la page web de création de salle de conférence. / conference room web page.
  - 4443/tcp,10000/udp utilisé pour transmettre et recevoir le trafic d'appels cryptés. / transmit and receive encrypted call traffic.

thank you for enduring my mixture of french and approximate english..!

« Last Edit: June 17, 2020, 03:19:32 PM by lurey »
Bricoleur informatique, qui speak très mal english... merci de votre indulgence !