You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tutorials/jitsi-meet-on-debian-ubuntu/01.en.md
+45-36
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
SPDX-License-Identifier: MIT
3
3
path: "/tutorials/jitsi-meet-on-debian-ubuntu"
4
4
slug: "jitsi-meet-on-debian-ubuntu"
5
-
date: "2020-05-12"
5
+
date: "2024-08-29"
6
6
title: "Install Jitsi Meet on Debian/Ubuntu"
7
7
short_description: "Jitsi Meet is an open-source (Apache) WebRTC JavaScript application that uses Jitsi Videobridge to provide high quality, secure and scalable video conferences."
Jitsi Meet is an open-source (Apache) WebRTC JavaScript application that uses Jitsi Videobridge to provide high quality, secure and scalable video conferences. It can be used as a replacement for proprietary services like Zoom, Whereby, Teams, Skype and many others.
21
21
22
-
You can try it out on [meet.jit.si](https://meet.jit.si/). There are more public instances available [in the Jitsi Meet Handbook](https://jitsi.github.io/handbook/docs/community/community-instances/).
22
+
You can try it out on [meet.jit.si](https://meet.jit.si/). There are more public instances available [in the Jitsi Meet Handbook](https://jitsi.github.io/handbook/docs/community/third-party-software/).
23
23
24
-
This tutorial should work with Debian 8 (Jessie) or later, and Ubuntu 14.04 or later. Of course it is recommended to use the latest available (LTS) version of either Debian or Ubuntu.
24
+
This tutorial should work with Debian 11 (Bullseye) or later, and Ubuntu 22.04 or later. Of course it is recommended to use the latest available (LTS) version of either Debian or Ubuntu.
25
25
26
26
**Prerequisites**
27
27
28
-
* At least a small virtual server, e.g. [Cloud Server CX11](https://www.hetzner.com/cloud#pricing), with a root shell
28
+
* At least a small virtual server, e.g. [Cloud Server CAX11](https://www.hetzner.com/cloud#pricing)
29
+
* Access to the root user or a user with sudo permissions
29
30
* Basic knowledge about linux
30
31
32
+
**Example terminology**
33
+
34
+
* Domain: `talk.example.com`
35
+
* Server:
36
+
* Public IPv4: `10.0.0.1`
37
+
* Public IPv6: `2001:db8:1234::1`
38
+
31
39
## Step 1 - Choose a domain and setup DNS
32
40
33
-
First of all you need to choose a domain. In this tutorial we will use `talk.example.com`. In your DNS zone create two simple records:
41
+
First of all you need to choose a domain. In this tutorial we will use `talk.example.com`. In your DNS zone, create two simple records:
34
42
35
43
```dns
36
44
talk.example.com. 14400 IN A 10.0.0.1
@@ -39,25 +47,26 @@ talk.example.com. 14400 IN AAAA 2001:db8:1234::1
39
47
40
48
## Step 2 - Add repository and install
41
49
42
-
Jitsi ships pre-built packages for jitsi-meet in its own repository. Since these packages are signed with their own key, we also need to add the GPG from Jitsi to our keyring.
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/jitsi.gpg
47
-
```
48
-
49
-
Then update your package list:
50
-
51
-
```bash
52
-
apt-get update
53
-
```
50
+
***Install prerequisites**
51
+
52
+
Depending on how simple and minimal your operating system is, you may need an additional package to support HTTPS repositories.
53
+
```bash
54
+
sudo apt update
55
+
sudo apt install apt-transport-https
56
+
```
54
57
55
-
Depending on how simple and minimal your operating system is, you may receive an error from this repository. You need an additional package to support HTTPS repositories. After that, update your package list again:
58
+
***Add repository and GPG key**
59
+
60
+
Jitsi ships pre-built packages for jitsi-meet in its own repository. Since these packages are signed with their own key, we also need to add the GPG from Jitsi to our keyring.
echo"deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/"| sudo tee /etc/apt/sources.list.d/jitsi-stable.list
64
+
```
56
65
57
-
```bash
58
-
apt-get install apt-transport-https
59
-
apt-get update
60
-
```
66
+
***Update your package list**
67
+
```bash
68
+
sudo apt update
69
+
```
61
70
62
71
## Step 3 - Configure the hostname (optional)
63
72
@@ -79,18 +88,18 @@ Otherwise scroll down to the manual installation.
79
88
80
89
Perform the jitsi-meet installation:
81
90
```bash
82
-
apt-get install jitsi-meet -y
91
+
sudo apt install jitsi-meet -y
83
92
```
84
-
During the installation process you need to enter your chosen domain name (not the example `talk.example.com`!). It will be used to configure the virtual host.
93
+
During the installation process, you need to enter your chosen domain name (not the example `talk.example.com`!). It will be used to configure the virtual host.
85
94
86
95
<br>
87
96
88
97
***Register a certificate**
89
98
90
-
Next we register Let's Encrypt certificates for TLS encryption.
99
+
Next, we register Let's Encrypt certificates for TLS encryption.
91
100
Jitsi Meet also offers a script for this task. Simply run it:
Next, continue with "[Step 5](#step-5---additional-configuration)" below.
@@ -103,9 +112,9 @@ These steps describe the manual installation process.
103
112
104
113
***Install a webserver**
105
114
106
-
In case you already have a webserver installed you can skip this step. For performance reasons we install a webserver otherwise jitsi-meet will use a builtin java webserver called jetty.
115
+
In case you already have a webserver installed you can skip this step. For performance reasons, we install a webserver otherwise jitsi-meet will use a builtin java webserver called jetty.
107
116
```bash
108
-
apt-get install nginx -y
117
+
sudo apt install nginx -y
109
118
```
110
119
111
120
<br>
@@ -116,13 +125,13 @@ These steps describe the manual installation process.
116
125
117
126
We will use [certbot](https://certbot.eff.org/) from [EFF](https://www.eff.org/) for the Let's Encrypt certificates.
118
127
```bash
119
-
apt-get install snapd
120
-
snap install --classic certbot
121
-
ln -s /snap/bin/certbot /usr/bin/certbot
128
+
sudo apt install snapd
129
+
sudo snap install --classic certbot
130
+
sudo ln -s /snap/bin/certbot /usr/bin/certbot
122
131
```
123
132
Time to register your certificate (don't forget to replace the email and domain with your certificate):
@@ -131,7 +140,7 @@ These steps describe the manual installation process.
131
140
132
141
Finally we can install jitsi-meet on our server.
133
142
```bash
134
-
apt-get install jitsi-meet -y
143
+
sudo apt install jitsi-meet -y
135
144
```
136
145
During the installation process you need to enter your chosen domain name (not the example `talk.example.com`!) and select the option to generate a self-signed certificate.
137
146
@@ -176,10 +185,10 @@ Uncomment and change `// disableThirdPartyRequests: false` to `true`
176
185
177
186
You should add more than one STUN server under `stunServers:` in case one of them does not work. There is a list available on [this GitHub gist](https://gist.github.com/mondain/b0ec1cf5f60ae726202e). I can recommend you to use the following:
Of course the best solution would be to [host your own STUN server](https://community.hetzner.com/tutorials/install-turn-stun-server-on-debian-ubuntu-with-coturn).
@@ -189,7 +198,7 @@ Of course the best solution would be to [host your own STUN server](https://comm
189
198
Restart all services to be sure all configuration changes are applied:
0 commit comments