Skip to content

Commit 24d8800

Browse files
authored
🔄 Update "Install Jitsi Meet on Debian/Ubuntu" (hetzneronline#928)
1 parent 1d85ecf commit 24d8800

File tree

1 file changed

+45
-36
lines changed
  • tutorials/jitsi-meet-on-debian-ubuntu

1 file changed

+45
-36
lines changed

‎tutorials/jitsi-meet-on-debian-ubuntu/01.en.md

+45-36
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SPDX-License-Identifier: MIT
33
path: "/tutorials/jitsi-meet-on-debian-ubuntu"
44
slug: "jitsi-meet-on-debian-ubuntu"
5-
date: "2020-05-12"
5+
date: "2024-08-29"
66
title: "Install Jitsi Meet on Debian/Ubuntu"
77
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."
88
tags: ["Jitsi", "Meeting", "Conference", "Ubuntu", "Debian"]
@@ -19,18 +19,26 @@ header_img: "header-4"
1919

2020
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.
2121

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/).
2323

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.
2525

2626
**Prerequisites**
2727

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
2930
* Basic knowledge about linux
3031

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+
3139
## Step 1 - Choose a domain and setup DNS
3240

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:
3442

3543
```dns
3644
talk.example.com. 14400 IN A 10.0.0.1
@@ -39,25 +47,26 @@ talk.example.com. 14400 IN AAAA 2001:db8:1234::1
3947

4048
## Step 2 - Add repository and install
4149

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.
43-
44-
```bash
45-
echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list
46-
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+
```
5457

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.
61+
```bash
62+
curl -sL https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg'
63+
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+
```
5665

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+
```
6170

6271
## Step 3 - Configure the hostname (optional)
6372

@@ -79,18 +88,18 @@ Otherwise scroll down to the manual installation.
7988

8089
Perform the jitsi-meet installation:
8190
```bash
82-
apt-get install jitsi-meet -y
91+
sudo apt install jitsi-meet -y
8392
```
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.
8594

8695
<br>
8796

8897
* **Register a certificate**
8998

90-
Next we register Let's Encrypt certificates for TLS encryption.
99+
Next, we register Let's Encrypt certificates for TLS encryption.
91100
Jitsi Meet also offers a script for this task. Simply run it:
92101
```bash
93-
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
102+
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
94103
```
95104

96105
Next, continue with "[Step 5](#step-5---additional-configuration)" below.
@@ -103,9 +112,9 @@ These steps describe the manual installation process.
103112

104113
* **Install a webserver**
105114

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.
107116
```bash
108-
apt-get install nginx -y
117+
sudo apt install nginx -y
109118
```
110119

111120
<br>
@@ -116,13 +125,13 @@ These steps describe the manual installation process.
116125

117126
We will use [certbot](https://certbot.eff.org/) from [EFF](https://www.eff.org/) for the Let's Encrypt certificates.
118127
```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
122131
```
123132
Time to register your certificate (don't forget to replace the email and domain with your certificate):
124133
```bash
125-
certbot certonly --nginx --rsa-key-size 4096 -m holu@example.com -d talk.example.com
134+
sudo certbot certonly --nginx --rsa-key-size 4096 -m holu@example.com -d talk.example.com
126135
```
127136

128137
<br>
@@ -131,7 +140,7 @@ These steps describe the manual installation process.
131140

132141
Finally we can install jitsi-meet on our server.
133142
```bash
134-
apt-get install jitsi-meet -y
143+
sudo apt install jitsi-meet -y
135144
```
136145
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.
137146

@@ -176,10 +185,10 @@ Uncomment and change `// disableThirdPartyRequests: false` to `true`
176185

177186
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:
178187

179-
```
188+
```js
180189
{ urls: 'stun:stun.nextcloud.com:443' },
181190
{ urls: 'stun:stun.stunprotocol.org:3478' },
182-
{ urls: 'stun:meet-jit-si-turnrelay.jitsi.net:3478' }
191+
{ urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
183192
```
184193

185194
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
189198
Restart all services to be sure all configuration changes are applied:
190199

191200
```bash
192-
systemctl restart nginx.service jicofo.service jitsi-videobridge2.service
201+
sudo systemctl restart nginx.service jicofo.service jitsi-videobridge2.service
193202
```
194203

195204
In case you get an error during room creation, reboot your server and try again.

0 commit comments

Comments
 (0)