How To Install Jitsi Meet On Debian or Ubuntu
How To Install Jitsi Meet On Debian or Ubuntu
Meet on Debian or
Ubuntu
Installing Jitsi Meet on your own server allows you to Voice-/Videochat with multiple people and
use features like screen sharing. Unlike other services it works without accounts or desktop clients
You have any feedback or ideas to improve this? Contact me on Social Media or per E-Mail.
This guide is licensed under the Creative Commons Attribution-ShareAlike 4.0 International
license.
Prerequisites
OpenJDK
github.com/jitsi/jitsi-meet/blob/master/doc/manual-install.md
github.com/jitsi/jicofo/blob/master/README.md#secure-domain
jitsi.org/tutorial
Adding the apt repository
If you are using Ubuntu, make sure the universe repositories are enabled
sudo ufw allow 443/tcp # this is probably already allowed if you are runnning a webserversudo
In the first step, the installer will ask for the domain where you want to install Jitsi:
jitsi.yourdomain.example .
In the next step select that you want to use your existing certificate which you created in the
previous step. Assuming you are using certbot, you can find the private key at
/etc/letsencrypt/live/jitsi.yourdomain.example/fullchain.pem .
If all goes well you should already be able to access Jitsi at https://jitsi.yourdomain.example .
Nevertheless, there are a few more steps to make sure everything is configured ideally.
Everyone who can access the website is able to create a meeting room. If you want to
Nginx
If you are using Nginx, you can take a look at the generated
your other sites. You might want to adapt the ssl config or enable http2 .
NAT
If your server is not directly connected to the internet, you have to specify its local IP in
/etc/jitsi/videobridge/sip-communicator.properties :
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=<Local.IP.Address>
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=<Public.IP.Address>
STUN Server
(thanks to kuketz-blog.de for the idea)
By default Jitsi uses the STUN server by Google to set up a connection. If you don't want this, you
stunServers: [
{ urls: 'stun:stun.t-online.de:3478' },
{ urls: 'stun:stun.1und1.de:3478' },
Screensharing in Firefox 74+ doesn't work. Thankfully there is a patch available and it is simple
one only has to search for camera; microphone; in it and then replace the string
A save and reload of the page later everything should be working fine.
Adding authentification to
room creation
You probably want to restrict the creation of new rooms to some users, but still allow everyone
with the link to join a room. For this we can configure jicofo :
replace anonymous authentication with internal_plain . Next up create a new VirtualHost below
app_id="example_app_id"
-- set in the global section (if any). -- Note that old-style SSL on port 5223
ssl = { key =
"/etc/prosody/certs/jitsi.yourdomain.example.key"; certificate =
"/etc/prosody/certs/jitsi.yourdomain.example.crt";
-- we need bosh
modules_enabled = {
"bosh";
"pubsub";
}
c2s_require_encryption = false
VirtualHost "guest.jitsi.yourdomain.example"
authentication = "anonymous"
c2s_require_encryption = false
It should already have a line for anonymousdomain which you only need to uncomment and specify
var config = {
hosts: {
// XMPP domain.
domain: 'jitsi.yourdomain.example',
'guest.jitsi.yourdomain.example',
[...]
org.jitsi.jicofo.auth.URL=XMPP:jitsi.yourdomain.example
authentication.
But if you just want to limit the instance to the people you know, a single shared user account as