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/04/11 15:22] – 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. | + | 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 37: | Line 148: | ||
| - File transfer Proxy: I still leave at proxy.eu.jabber.ord, | - File transfer Proxy: I still leave at proxy.eu.jabber.ord, | ||
| + | ===== Client Software ===== | ||
| + | |||
| + | In addition to using a web browser, there is client software for Windows, Linux and OS/X. There are also apps for Android and IOS which can be downloaded from their respective stores. | ||
| + | |||
| + | For workstations, | ||
| + | |||
| + | ==== Standard Workstation Program ==== | ||
| + | |||
| + | Standard installers can be downloaded from https:// | ||
| + | |||
| + | ==== AppImage ==== | ||
| + | |||
| + | An AppImage is a way of packaging a program that does not use an installer. Instead, it includes all of the libraries, etc... in its one package. For this reason, you do not need administrator privileges, and removing a program is mainly a matter of deleting a file. When I had the issue with the standard Debian image, I tried the AppImage copy and it ran just fine. | ||
| + | |||
| + | AppImage' | ||
| + | |||
| + | ==== Android ==== | ||
| + | |||
| + | While the jitsi app is available in the standard Android Store, a better way of doing it is to install f-droid (https:// | ||
| + | |||
| + | ==== IOS ==== | ||
| + | Apple is not known for being open, though their operating system, like Android, is based on open source software. I, personally, do not own an iPhone or iPad, so I **can not and do not recommend the following** strictly because I don't know. However, it appears something similar to F-Droid exists. Check out https:// | ||
| ===== Links ===== | ===== Links ===== | ||
| Line 45: | Line 178: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * | ||
software/jitsi.1586636527.txt.gz · Last modified: 2020/04/11 15:22 by rodolico
