How to install Jitsi, a self-hosted video chat platform on Linux VPS.

# Setting up Jitsi on a GoDaddy VPS Ubuntu build. Get your GoDaddy VPS here –
# Self-Hosting guide for Debian/Ubuntu Server from Jitsi can be found here for refrence –

# get the server up to date

sudo apt update && sudo apt upgrade

# reboot server

sudo reboot

# check if VPS is running a supported build to run Jitsi; Jitsi requires that Ubuntu OS to be 18.04 and newer. 

lsb_release -d

# If VPS is running an older build and needs to be upgraded. I recommend you do this part via the Recovery console in the GoDaddy dashboard of your VPS.

sudo do-release-upgrade

# Get server up to date.

sudo apt update && sudo apt upgrade

# Jitsi pre-req install of ‘gnupg2’

sudo apt install gnupg2

# Jitsi pre-req install of ‘nginx-full’

sudo apt install nginx-full

# Ensure support for apt repositories served via HTTPS

sudo apt install apt-transport-https

# make sure ‘universe’ package is installed

sudo apt-add-repository universe

# check for latest packages

sudo apt update

# install openjdk8

sudo apt install openjdk-8-jdk

# set hostname

sudo hostnamectl set-hostname

# edit hosts file

sudo nano /etc/cloud/templates/hosts.debian.tmpl

# reboot server

sudo reboot

# add Jitis repository

sudo curl | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg'
sudo echo 'deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] stable/' | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null

# update package sources

sudo apt update

# setup ufw

sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 10000/udp
sudo ufw allow 22/tcp
sudo ufw allow 3478/udp
sudo ufw allow 5349/tcp
sudo ufw allow 2224/tcp
sudo ufw enable

# check firewall status

sudo ufw status verbose

# jitsi-meet installation

sudo apt install jitsi-meet

# reboot box

sudo reboot

# setup Let’s Encrypt

sudo /usr/share/jitsi-meet/scripts/

# now open a web browser and type in your hostname and enjoy Jitsi!

This was a fun little project, now an option to offer to family, clients, customers, their own platform to video conference on. 

Check out my screenshot here – 

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest