This tutorial goes to point out you the way to set up Jitsi Meet on Ubuntu 18.04 server. Jitsi Meet is a free open-source video conferencing software program that works on Linux, macOS, Home windows, iOS and Android. In the event you don’t belief Zoom, you’ll be able to run your personal video conferencing platform by yourself server.

Options of Jitsi Meet

  • Fully freed from cost
  • Share your pc display with others.
  • The presenter mode means that you can share your display and digital camera on the identical time, so attendees can see the presenter and their physique language all through the presentation.
  • You’ll be able to share the system audio whereas sharing your display.
  • You’ll be able to assign approved customers as moderators. A moderator can mute each participant with one click on.
  • Communication over the community is encrypted utilizing DTLS-SRTP.
  • Finish to finish encryption (work in progress)
  • You’ll be able to set a password in your convention to stop random strangers coming in.
  • File the assembly/convention and put it aside to Dropbox.
  • Stream to YouTube Reside and retailer the recording on YouTube.
  • Android and iOS apps
  • Textual content chatting
  • Share textual content doc
  • Phone dial-in to a convention
  • Dial-out to a phone participant
  • You’ll be able to embed a Jits Meet name into any webpage with just some traces of code.

Necessities of Putting in Jitsi Meet on Ubuntu 18.04

To run Jitsi Meet, you want a server with a minimum of 1GB RAM. You’ll be able to click on this referral hyperlink to create an account at Vultr to get $50 free credit score (for brand new customers solely). After getting an account at Vultr, set up Ubuntu 18.04 in your server and observe the directions beneath. When you’ve got dozens of customers, think about upgrading your server {hardware}. The server needs to be near your customers, or the delay will likely be noticiable throughout on-line conferences.

You additionally want a site identify. I registered my area identify at NameCheap as a result of the worth is low they usually give whois privateness safety free for all times.

Step 1: Set up Jitsi Meet from the Official Bundle Repository

Jitsi Meet isn’t included within the default Ubuntu repository. We will set up it from the official Jitsi bundle repository, which additionally accommodates a number of different helpful software program packages. Log into your server by way of SSH, then run the next command so as to add the official Jitsi repository.

echo ‘deb https://obtain.jitsi.org steady/’ | sudo tee /and many others/apt/sources.checklist.d/jitsi-stable.checklist

Import the Jitsi public key, so the APT bundle supervisor can verifiy the integrity of packages downloaded from this repository.

wget -qO – https://obtain.jitsi.org/jitsi-key.gpg.key | sudo apt-key add –

As a result of the Jitsi repository requires HTTPS connection so we have to set up apt-transport-https bundle to make APT set up HTTPS connection to the Jitsi repository.

sudo apt set up apt-transport-https

Subsequent, replace native bundle index and set up Jitsi Meet on Ubuntu.

sudo apt replace
sudo apt set up jitsi-meet

In the course of the set up, it’s worthwhile to enter a hostname in your Jitsi occasion. That is the hostname that can seem within the net browser tackle bar when attendees be part of your video convention. You should use a descriptive hostname like meet.instance.com.

Install Jitsi Meet at Ubuntu 18.04.

Within the subsequent display, you’ll be able to select to generate a brand new self-signed TLS certificates, so later you’ll be able to acquire and set up a trusted Let’s Encryption certificates.

Install Jitsi Meet at Ubuntu 18.04.

The set up course of will configure some Linux kernel parameters, which is saved to the /and many others/sysctl.d/20-jvb-udp-buffers.conf file. As soon as the set up is full, Jitsi Meet will mechanically begin. You’ll be able to test its standing with:

systemctl standing jitsi-videobridge2

Pattern Output:

● jitsi-videobridge2.service – Jitsi Videobridge
Loaded: loaded (/lib/systemd/system/jitsi-videobridge2.service; enabled; vendor preset: enabled)
Lively: energetic (working) since Fri 2020-04-24 12:11:13 UTC; 3min 27s in the past
Important PID: 3665 (java)
Duties: 37 (restrict: 65000)
CGroup: /system.slice/jitsi-videobridge2.service
└─3665 java -Xmx3072m -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/and many others/jitsi -Dnet.java.sip.communicator.SC_HO

Trace: If the above command doesn’t stop instantly, you’ll be able to press the Q key to make it stop.

The jitsi-meet bundle additionally pulled different packages as dependencies, reminiscent of

  • openjdk-8-jre-headless: Java runtime atmosphere. It’s wanted as a result of Jitsi Meet is written within the Java language.
  • jicofo: Jitsi convention Focus (systemctl standing jicofo)
  • prosody: Light-weight Jabber/XMPP server (systemctl standing prosody)
  • coturn: coturn TURN Server

Step 2: Open Ports in Firewall

Jitsi Meet listens on a number of UDP ports, as could be seen with the next command. (In case your Ubuntu server doesn’t have the netstat command, you’ll be able to run sudo apt set up net-tools command to put in it.)

sudo netstat -lnptu | grep java

Install Jitsi Meet at Ubuntu 18.04.

To permit attendees to hitch a video convention from an internet browser, it’s worthwhile to open TCP port 80 and 443. And to switch video over the community, open UDP port 10000 and 5000. In case you are utilizing the UFW firewall, then run the next command to open these ports.

sudo ufw permit 80,443/tcp

sudo ufw permit 10000,5000/udp

Step 3: Get hold of a Trusted Let’s Encrypt TLS Certificates

Go to your DNS internet hosting service (often your area registrar) to create DNS A file in your Jitsi hostname (meet.instance.com). Then run the next script to acquire a trusted Let’s Encrypt TLS certificates:

sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

Enter your e mail tackle to obtain vital account notifications. Then it’s going to obtain certbot-auto and acquire TLS certificates.

Install Jitsi Meet at Ubuntu 18.04.

If all the pieces is Okay, you will notice the next message, indicating the TLS certificates has been efficiently obtained and put in.

Install Jitsi Meet at Ubuntu 18.04.

Be aware that this script makes use of the http-01 problem, which suggests your Apache or Nginx net server must pay attention on port 80 of the general public IP tackle. In case your server atmosphere doesn’t help the http-01 problem, then you shouldn’t run the above script. It’s good to use different problem varieties. In my case, I exploit the DNS problem.

sudo certbot –agree-tos -a dns-cloudflare -i nginx –redirect –hsts –staple-ocsp –email [email protected] -d meet.linuxbabe.com

The place:

  • –agree-tos: Conform to phrases of service.
  • -a dns-cloudflare: I exploit the cloudflare DNS plugin to authenticate, as a result of I exploit Cloudflare DNS service.
  • -i nginx: Use the nginx plugin to put in the TLS certificates. In the event you use Apache, it’s worthwhile to substitute nginx with apache.
  • –redirect: Drive HTTPS by 301 redirect.
  • –hsts: Add the Strict-Transport-Safety header to each HTTP response. Forcing browser to at all times use TLS for the area. Defends in opposition to SSL/TLS Stripping.
  • –staple-ocsp: Allows OCSP Stapling. A legitimate OCSP response is stapled to the certificates that the server gives throughout TLS.

Step 4: Allow HTTP2

HTTP2 can enhance net web page loading velocity. To allow HTTP2 in Nginx, edit the digital host config file.

sudo nano /and many others/nginx/sites-enabled/meet.instance.com.conf

Discover the next two traces.

pay attention 443 ssl;
pay attention [::]:443 ssl;

Add http2 on the finish.

pay attention 443 ssl http2;
pay attention [::]:443 ssl http2;

Save and shut the file. Then reload Nginx for the change to take impact.

sudo systemctl reload nginx

Step 5: Begin a New On-line Assembly

Now go to https://meet.instance.com and it is possible for you to to begin a convention. To switch audio, it’s worthwhile to permit the online browser to make use of your microphone. And to tranfer video, it’s worthwhile to permit the online browser to entry your digital camera.

Install Jitsi Meet at Ubuntu 18.04.

Give your assembly a reputation and click on the Go button. After the assembly is began, you’ll be able to optionally select to set a password in your assembly.

Step 6: Set Up Person Authentication

By default, anybody can go to your Jitsi Meet occasion, create a room and begin a gathering. To arrange person authentication, edit the Prosody configuration file.

sudo nano /and many others/prosody/conf.d/meet.instance.com.cfg.lua

Discover the next line.

authentication = “nameless”

Change it to the next, which would require the person to enter username and password to begin a convention.

authentication = “internal_plain”

Nonetheless, we don’t need attendees to enter username and password when becoming a member of the convention, so we have to create an nameless login for company, by including the next traces on the finish of this file. Be aware that you just don’t have to create DNS A file for visitor.meet.instance.com.

VirtualHost “visitor.meet.instance.com”
authentication = “nameless”
c2s_require_encryption = false

Install Jitsi Meet at Ubuntu 18.04.

Save and shut the file.

Subsequent, edit the Jitsi Meet configuration file.

sudo nano /and many others/jitsi/meet/meet.instance.com-config.js

Discover the next line,

// anonymousdomain: ‘visitor.instance.com’,

Take away the double slashes and alter the visitor area. Change meet.instance.com together with your actual Jitsi Meet hostname.

anonymousdomain: ‘visitor.meet.instance.com’,

Save and shut the file.

Then edit the Jicofo configuration file.

sudo nano /and many others/jitsi/jicofo/sip-communicator.properties

Add the next line on the finish of this file.

org.jitsi.jicofo.auth.URL=XMPP:meet.instance.com

Save and shut the file. Restart the systemd providers for the adjustments to take impact.

sudo systemctl restart jitsi-videobridge2 prosody jicofo

To create person accounts in Jisi Meet, run the next command. You may be promoted to enter a password for the brand new person.

sudo prosodyctl register username meet.instance.com

Now if you happen to create a room in Jitsi Meet, you will want to enter a username and password.

Install Jitsi Meet at Ubuntu 18.04.

Non-compulsory: Set Up Jigasi For Phone Dial-in or Dial-Out

Jitsi gives a telephony interface that enables customers to dial right into a convention or place dial-out reminder calls. Set up the jigasi bundle (Jitsi gateway for SIP).

sudo apt set up jigasi

In the course of the set up, you will want to enter your SIP username and password. In the event you don’t have one, you’ll be able to create a free SIP account at OnSIP.com.

Install Jitsi Meet at Ubuntu 18.04.

When you have arrange person authentication in step 6, then it’s worthwhile to edit Jigasi configuration file.

sudo nano /and many others/jitsi/jigasi/sip-communicator.properties

Discover the next traces.

# [email protected]_DOMAIN
# org.jitsi.jigasi.xmpp.acc.PASS=SOME_PASS
# org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false

Uncomment them and enter an account and password that you just created in step 6.

org.jitsi.jigasi.xmpp.acc.USER_ID=[email protected] org.jitsi.jigasi.xmpp.acc.PASS=user1_password
org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false

Save and shut the file. Restart the jigasi systemd service.

sudo systemctl restart jigasi

Non-compulsory: Configure Coturn

In the event you see the next message through the set up of Jitsi Meet, it’s worthwhile to configure Coturn to make it work correctly.

Warning! Couldn’t resolve your exterior ip tackle! Error:^
Your flip server won’t work until you edit your /and many others/turnserver.conf config file.
It’s good to set your exterior ip tackle in external-ip and restart coturn service.

Edit the Coturn configuration file.

sudo nano /and many others/turnserver.conf

Discover the next line.

external-ip=127.0.0.1

Change 127.0.0.1 together with your server’s public IP tackle. Save and shut the file. Then restart Coturn.

sudo systemctl restart coturn

Troubleshooting Suggestions

In the event you encounter errors, you’ll be able to test the Nginx error log (/var/log/nginx/error.log) to seek out out what’s improper. You may as well test the logs of the systemd providers.

sudo journalctl -eu jitsi-videobridge2
sudo journalctl -eu prosody
sudo journalctl -eu jicofo

Wrapping Up

I hope this tutorial helped you arrange a Jitsi Meet server on Ubuntu 18.04. As at all times, if you happen to discovered this put up helpful, then subscribe to our free e-newsletter to get new tutorials. Take care 🙂

Price this tutorial

[Total: 5 Average: 5]

You May Also Like

World of Warcraft Classic: Some Players Use Illegal Tools to Stay Connected

Earlier this week, Blizzard released World of Warcraft Classic. The launch was,…

Crash Team Racing Bientt Back on Ps4!

Activision seems not to have finished with the remastering of the Playstation…

Calculation Number of Days Between Two Dates

Topic: Delphi Language charlene44 wrote: 18/08/2006 at 15h08 calculation of number of…