Host your own video service app using Jitsi

Get your VM’s access

ssh -i <your-permission-file.pem> <user-name>@<server'-IP>
eg: ssh -i test.pem azureuser@13.76.157.xxx

Setup Domain Name

  • Go to you domain name provider
  • Enter DNS Management.
  • Add a new A Record pointing to Virtual Server’s Public IP.
  • let’s say you have a domain name that is “myvideoapp.com”. You can add a new subdomain called “meet” by adding a new A-record. So, your new meet domain name will “meet.myvideoapp.com
  • We will be using this domain name for further steps.

Pre-Configuration

  • get root access as all commands will require sudo. sudo su -
  • check iptables. Here you would find iptables to be empty.
  • check firewall status. You will find that firewall is disabled
  • Enable Firewall ufw enable.
  • Allow Firewall for given ports.
  • ufw allow in ssh,ufw allow in 80/tcp, ufw allow in 443/tcp,ufw allow in 10000:20000/udp
  • check firewall status. ufw status

Add Jitsi Repo

curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg'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 > /dev/null

Install

  • nginx apt install nginx
  • jitsi-meet apt install jitsi-meet
  • Enter your domain name. eg: “meet.myvideoapp.com”
  • Select the “Install self-signed certificate” option for the SSL certificate.
  • Run the script to install SSL cert
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh

Extras

  • check iptables again. iptables -L -n

--

--

--

Starter at CaffeTable| Writer at Faun| Developer | https://caffetable.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CS373 Fall 2020: Lauren Mangibin

Workflow Management: A Guide To Mastering Your Product Delivery | Blog | Crema

Entity Framework: A Beginning Discussion of Core Parts

Berry Data Weekly Report #9 (March 22nd — March 28th)

4 Ruby Methods You Didn’t Know You Needed

Updating your app for the iPhone X

Dependency Injection in Unity

Isolating and Automating User Acceptance Tests

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shailesh Kumar Sahu

Shailesh Kumar Sahu

Starter at CaffeTable| Writer at Faun| Developer | https://caffetable.com/

More from Medium

Indoor Location Positioning Using iBeacons

How we ran unity servers on AWS EKS. Part 1 — System design.

How to connect Intercom with Google Sheets — without another subscription

Pulsar: Designing an abstract and consistent infrastructure as a code (Part 2)