Home Linux Server Jitsi Meet – online solution for businesses

Jitsi Meet – online solution for businesses

by Thạch Phạm
Published: Last Updated on
image 5

In the 4.0 technology era, everything can work, communicate, and meet online remotely. Especially in the present time, the severe impact of the global Covid 19 pandemic has become even more necessary. Therefore, companies, organizations, and businesses operating in service provision, including AZDIGI, started working from Work From Home (WFH).

Therefore, as the demand for working online increases, everyone needs a tool to directly exchange online with each other so that the work is convenient and smooth right when working from home. There are many solutions and tools to help you do that, such as Zoom, Google Meet and especially the application AZDIGI’s technical team deploys, Jitsi Meet. Moreover, many units in the world apply open-source code. And what is Jitsi Meet? The advantages features and how to install, please continue reading this article.

I. What is Jitsi Meet?

Jitsi Meet is a free online meeting solution developed based on open source code, allowing businesses, especially in the current situation, for companies and businesses to work from home (WFH). With Jitsi Meet, you can proactively deploy online meeting rooms on your infrastructure through video with high resolution to 720p and clear sound quality. SSL-encrypted data according to the highest security standards to help ensure privacy and information security, easy to set up and join meetings anytime, anywhere through the website link or install the application on the phone without requiring the user to register an account.

II. Features of Jitsi Meet

  • Share screens and slides with participants.
  • Simple meeting invitation with a URL.
  • Intuitive interface and easy to manipulate with users.
  • It has enough features to run an online meeting proactively.
  • Allows editing documents and chatting directly in the room.
  • Stable sound quality and clear picture.
  • Vietnamese interface.
  • Unlimited time and the number of users to access.
  • Support Livestream to Facebook, YouTube and record the meeting.
  • Support the online chat feature and raise your hand to speak.
  • Safe and secure, allowing to set a password for each room separately.
  • Completely free.

III. Install Jitsi Meet Guide

System Requirements

  • Linux Server Ubuntu 18+
  • CPU (core): At least 1 Core or more, depending on the number of online users that you need the server more powerful.
  • RAM: 2GB
  • DISK: 25GB
  • Use root or su root
  • A domain or subdomain pointed to a Public IP

Steps to install Jitsi Meet

Step 1: Log in SSH into the server/VPS

To install Jisti Meet, you need to SSH into the server. If you don’t know how to SSH into your VPS/Server, you can refer to the following tutorial:

Step 2: Set up the system

Before starting, update the server system to the latest version with the following command:

AZDIGI Tutorial
sudo apt-get update -y
sudo apt-get upgrade -y

After your system is updated, please reboot your system to apply the changes. Next, you’ll set up the relevant server hostname (example: live.azdigi.info). You can do this by running the following commands:

AZDIGI Tutorial
sudo hostnamectl set-hostname live.azdigi.info
exec bash

Set up swap

With limited resources, you should set up swap for better performance. Some VPS services in Vietnam are mostly pre-configured. If your server hasn’t been set up, set it up as follows:

AZDIGI Tutorial
dd if=/dev/zero of=/mnt/swapfile bs=1024 count=2048k
mkswap /mnt/swapfile
swapon /mnt/swapfile
echo /mnt/swapfile none swap defaults 0 0 >> /etc/fstab
chown root:root /mnt/swapfile 
chmod 0600 /mnt/swapfile
sysctl vm.swappiness=10

Set up Firewall

AZDIGI Tutorial
sudo ufw allow OpenSSH
sudo ufw allow http
sudo ufw allow https
sudo ufw allow in 10000:20000/udp
sudo ufw enable

Step 3: Install Java

Next, you will need to install Java on your system. You can install OpenJDK JRE 8 by running the command:

AZDIGI Tutorial
sudo apt-get install -y openjdk-8-jre-headless -y
Screenshot 2021 07 18 at 11.47.23

Configure java_home

AZDIGI Tutorial
echo "JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")" | sudo tee -a /etc/profile
source /etc/profile
root@live:~# java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

Step 4: Install NGINX as a webserver

Jitsi Meet uses Nginx as a reverse proxy. So you will need to install NGINX on your system with the following command:

AZDIGI Tutorial
sudo apt install -y nginx

Enable system startup and check status

AZDIGI Tutorial
sudo systemctl start nginx.service
sudo systemctl enable nginx.service
sudo systemctl status nginx.service
root@live:~# sudo systemctl status nginx.service
 ● nginx.service - A high performance web server and a reverse proxy server
 Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
 Active: active (running) since Sun 2021-07-18 04:50:35 UTC; 15s ago
 Docs: man:nginx(8)
 Main PID: 16393 (nginx)
 Tasks: 2 (limit: 19660)
 Memory: 2.5M
 CGroup: /system.slice/nginx.service
 ├─16393 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
 └─16395 nginx: worker process

Step 5: Install Jitsi Meet

Jitsi Meet is not available in the Ubuntu 18.04 default program repositories. So you will need to add the Jitsi Meet download server to Ubuntu’s program repositories. You can do this by running the following command:

AZDIGI Tutorial
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add -
sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
sudo apt update -y

Next, update the repository and install Jitsi Meet with the command:

AZDIGI Tutorial
sudo apt-get update -y
sudo apt-get install jitsi-meet -y
Screenshot 2021 07 18 at 11.52.20
Screenshot 2021 07 18 at 11.53.16
image 3

Install free Let’s Encrypt SSL

AZDIGI Tutorial
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
Screenshot 2021 07 18 at 11.55.53
Output from deploy-hook command 0000-coturn-certbot-deploy.sh:
 Configuring turnserver
 Congratulations! Your certificate and chain have been saved at:
 Your key file has been saved at:
 Your cert will expire on 2021-10-16. To obtain a new or tweaked
 version of this certificate in the future, simply run certbot
 again. To non-interactively renew all of your certificates, run
 "certbot renew"
 Your account credentials have been saved in your Certbot
 configuration directory at /etc/letsencrypt. You should make a
 secure backup of this folder now. This configuration directory will
 also contain certificates and private keys obtained by Certbot so
 making regular backups of this folder is ideal.
 If you like Certbot, please consider supporting our work by:
 Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
 Donating to EFF: https://eff.org/donate-le 
 Configuring nginx

Step 6: Access to Jitsi Meet

So you have installed Jitsi Meet complete and can now access and start the first meeting. And if you are following this article by AZDIGI, you have access to port 443. And below is the access path, open your browser and enter the URL as follows:

  • Access by domain: https://my-domain
  • Access by IP: http://your-server-ip
Screenshot 2021 07 18 at 12.00.10

Step 7: Access the meeting room safely

By default, anyone who knows the domain name or IP address of your Jitsi Meet server will usually have access to your Jitsi Meet and will create the conference. And this will cause significant problems for your server in many ways. AZDIGI will guide you through secure meeting room access with a password.

Note: I will add cp command to backup files to avoid correcting mistakes in the commands. In case of error, you can restore. And change live.azdigi.info with your domain in the commands.

  • Edit file your_domain.cfg.lua

This configuration will force username and password validation before allowing the conference room to be created by a new user.

AZDIGI Tutorial
cp /etc/prosody/conf.avail/live.azdigi.info.cfg.lua /etc/prosody/conf.avail/live.azdigi.info.cfg.lua.bak
vi /etc/prosody/conf.avail/live.azdigi.info.cfg.lua

Find and edit as below:

     authentication = "anonymous"
 authentication = "internal_plain"
Screenshot 2021 07 18 at 13.06.07
Change authentication = “anonymous” to authentication = “internal_plain”

Next, in the file /etc/prosody/conf.avail/live.azdigi.info.cfg.lua, you add the following lines at the end of the file.

This configuration will allow any user to join an existing conference room. However, these users must have a URL and password to enter the room.

Here, you can add guest before the domain. For example, with live.azdigi.info, you would put guest.live.azdigi.info. Then you need to create these records on DNS to be able to use them.

VirtualHost "guest.live.azdigi.info"
authentication = "anonymous"
c2s_require_encryption = false
Screenshot 2021 07 18 at 13.08.28
  • Edit file my-domain-config.js

Open the file /etc/jitsi/meet/live.azdigi.info-config.js and edit the following:

hosts: {
 // XMPP domain.
 domain: 'live.azdigi.info',
 anonymousdomain: 'guest.example.com',

anonymousdomain: 'guest.live.azdigi.info',
Screenshot 2021 07 18 at 13.16.12

By using guest.your_domain, you will notify Jitsi Meet that you want to use this domain for user Guests when they log in. Please open the file and edit it as follows:

AZDIGI Tutorial
vi /etc/jitsi/jicofo/sip-communicator.properties
Screenshot 2021 07 18 at 13.16.57

This is the configuration for processing Jitsi Meet to the local server to serve the user when requested. Your Jitsi Meet is now fully configured, now only need to register a user to be able to create a conference room. Once the room is created, anyone can join without signing up to create an account. All those users only need the room URL and password to log in.

Please use Prosodyctl to register.

AZDIGI Tutorial
prosodyctl register  jitsi-meet.example.com 
For example:
prosodyctl register azdigi live.azdigi.info azdigi@2021

In there:

  • Login user: azdigi
  • Domain name: live.azdigi.info
  • Room password: azdigi@2021

And the last step, please restart the services.

AZDIGI Tutorial
sudo systemctl restart prosody.service
sudo systemctl restart jicofo.service
sudo systemctl restart jitsi-videobridge2.service

When you create the room, the screen will show:

Screenshot 2021 07 18 at 13.21.49

IV. How to use Jitsi Meet basically

Step 1: Access to Jitsi Meet

On your browser, access Jitsi Meet by:

  • Access by domain: https://my-domain
  • Access by IP: http://your-server-ip

If you use mobile devices, you can Download Jitsi Meet from the app store:

Step 2: Create the first meeting room

After having access to Jitsi Meet, please set a name for the room and press Start Meeting to start.

image 6

When asked if you want to allow connection to your camera & microphone, click Allow to accept.

Screenshot 2021 07 18 at 14.31.50

Step 3: Features in the meeting

These are the main features of the meeting room of Jisti Meet:

  1. Turn on/off micro in the meeting
  2. Turn on/off the camera in the meeting
  3. Share your device screen in the meeting
  4. Live chat frame in the meeting
  5. Raise your hand to speak
  6. See the list of members in the meeting
  7. Adjust sound quality and photo frame
  8. Zoom in/out of the screen
  9. Set up meeting room security, set a password for the room
  10. Share online meeting on YouTube
  11. Share meeting call audio
  12. Customize the background image behind your camera
  13. Meeting statistics
  14. Personal information settings (device, profile, name, language)
  15. Suggestions for quick shortcuts in the meeting
  16. Show iframe information for you to embed the link
  17. End call
Screenshot 2021 07 18 at 14.33.58

V. Advanced Configuration Jitsi Meet

You can already use Jitsi Meet for meetings with just the above steps. However, if you want to change some advanced configurations, such as changing language, logo, favicon, background, and resolution, you can do it as follows:

1. Change language

Open the config.js file and add the command:

AZDIGI Tutorial
vi /etc/jitsi/meet/live.azdigi.info-config.js
defaultLanguage: 'vi',
Screenshot 2021 07 18 at 13.30.15

Note: Because the translation language is not good. Therefore, you can open the file to configure the language at /usr/share/jitsi-meet/lang/main-vi.json to change the content of Vietnamese.

2. Change the title

The default title name is Jitsi Meet, but you can change it by opening the configuration file and editing it as follows:

AZDIGI Tutorial
vi /usr/share/jitsi-meet/interface_config.js
Screenshot 2021 07 18 at 13.38.07
Edit the APP_NAME line
image 4
The result after changing:

AZDIGI Tutorial
vi /usr/share/jitsi-meet/interface_config.js

Here, paste in the URL of your logo and favicon:

  • DEFAULT_LOGO_URL: URL of the logo
Screenshot 2021 07 18 at 13.57.00

4. Change Favicon

Open the title.html file and paste into the URL of your Favicon file.

AZDIGI Tutorial
vi /usr/share/jitsi-meet/title.html
Screenshot 2021 07 18 at 14.08.23
Screenshot 2021 07 18 at 14.09.13

5. Change the background

To change your background, use the command: And change the link to your background.

AZDIGI Tutorial
cp /usr/share/jitsi-meet/images/welcome-background.png /usr/share/jitsi-meet/images/welcome-background.png.bak
cd /usr/share/jitsi-meet/images/
wget https://tainguyenwp.azdigi.com/welcome-background.png
Screenshot 2021 07 18 at 14.19.17

Reboot to apply the changes:

AZDIGI Tutorial
/etc/init.d/jicofo restart && /etc/init.d/jitsi-videobridge2 restart && /etc/init.d/prosody restart && systemctl restart nginx

Wishing you success!

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign