software:jitsi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:jitsi [2020/08/07 00:58] – rodolico | software:jitsi [2021/07/27 02:06] (current) – rodolico | ||
---|---|---|---|
Line 3: | Line 3: | ||
Just some notes for me, but may be useful for others. | Just some notes for me, but may be useful for others. | ||
- | Jitsi is a video bridge server. It allows two or more users to do video chat. It uses Prosody for an XMPP chat also, and appears to use Prosody for authentication. It can be run in a standard web browser, though it is much better on Chrome/ | + | Jitsi is a video bridge server. It allows two or more users to do video chat. It uses [[software: |
+ | |||
+ | ===== Backing up ===== | ||
+ | |||
+ | You can back up lots of stuff, but the important part is / | ||
+ | |||
+ | The XMPP user configuration files are in / | ||
+ | * / | ||
+ | * / | ||
+ | <code bash> | ||
+ | mkdir -p / | ||
+ | cp -av / | ||
+ | mkdir -p / | ||
+ | cp -av / | ||
+ | </ | ||
+ | |||
+ | ===== Installation ====== | ||
+ | |||
+ | For Devuan and other Debian derivatives, | ||
+ | |||
+ | You MUST have a DNS A record set to your server before doing any of this. A CNAME may work, but I always put in an A record. | ||
+ | |||
+ | <code bash> | ||
+ | # Add the repo | ||
+ | wget -qO - https:// | ||
+ | echo deb https:// | ||
+ | apt update | ||
+ | # Do the installation | ||
+ | # get the web server and certbot installed and configured | ||
+ | apt -y install apache2 certbot | ||
+ | # make sure everything works | ||
+ | # the jitsi-meet package will install everything needed | ||
+ | # you will be asked for server name (your A record) | ||
+ | # you will also be asked if you want a self signed SSL cert, choose that and we'll replace it | ||
+ | # with certbot later | ||
+ | apt -y install jitsi-meet | ||
+ | # now, run the script to to the certbot setup | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ===== Configure ===== | ||
+ | |||
+ | Finally, we need to make some configuration file changes. Again, replace jitsi.example.com with your server name. In the code below, a minus sign means "find and remove this line" and a plus sign means "add this line" | ||
+ | |||
+ | ====/ | ||
+ | < | ||
+ | - authentication = " | ||
+ | + authentication = " | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | # add a block for guest at bottom of the file | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | </ | ||
+ | |||
+ | ====/ | ||
+ | < | ||
+ | - // anonymousdomain: | ||
+ | + anonymousdomain: | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | # add this line to sip-communicator.properties | ||
+ | echo ' | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | # add your first user, in this case, user1 with a password of Password | ||
+ | prosodyctl register user1 jitsi.example.com Password | ||
+ | </ | ||
+ | |||
+ | ====/ | ||
+ | |||
+ | This file is a hook that will update prosody' | ||
+ | <code bash> | ||
+ | # DO NOT RUN unless / | ||
+ | echo '# | ||
+ | echo '/ | ||
+ | chmod 700 / | ||
+ | </ | ||
+ | |||
+ | Now, finally, we run it one time to get prosody updated. After this, it will run after a new SSL cert is created automatically | ||
+ | <code bash> | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== restart everything ==== | ||
+ | <code bash> | ||
+ | service prosody restart | ||
+ | service jicofo restart | ||
+ | service jitsi-videobridge2 restart | ||
+ | </ | ||
===== Quick Notes ===== | ===== Quick Notes ===== | ||
+ | |||
+ | ==== Uninstall ==== | ||
+ | |||
+ | Note: most of the time you do not need to remove prosody, so I put that on a separate line. If you do remove prosody, be sure to back up / | ||
+ | <code bash> | ||
+ | apt purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge2 | ||
+ | apt purge prosody # only if you really, really need to | ||
+ | apt autoremove | ||
+ | </ | ||
+ | |||
+ | ==== Can't create an XMPP room ==== | ||
+ | |||
+ | By default, jitsi does not allow you to create new rooms in when you are using it for straight XMPP. In this case, edit the file **/ | ||
+ | - Find line similar to //Component " | ||
+ | - find line under that // | ||
+ | - change ' | ||
+ | - restart everything | ||
+ | |||
==== Location of authentication files ==== | ==== Location of authentication files ==== | ||
User authentication file (plain text, so don't trust it) | User authentication file (plain text, so don't trust it) | ||
< | < | ||
- | / | + | / |
</ | </ | ||
Basically, the server name with the dots replaced with %2e | Basically, the server name with the dots replaced with %2e | ||
Line 70: | Line 181: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
* | * |
software/jitsi.1596779908.txt.gz · Last modified: 2020/08/07 00:58 by rodolico