On Saturday, I want to celebrate my birthday. But a classic party is out of the question. So my idea was to host a video conference for my friends and drink coffee and eat cake virtually together.
Though I use Teams, Zoom, WebEx and Hangouts on my job and Discord for private purposes, I want something people can use without registering, installing a client or working with a provider they dislike.
The solution seemed easy: setting up my own Jitsi instance.
The initial progress was fine. I installed a clean Ubuntu based on version 18.04, created SSH Key Pair and logged in.
The next steps were:
- Adding the repository for Jitsi:
# echo 'deb https://download.jitsi.org stable/' >> /etc/apt/sources.list.d/jitsi-stable.list
# wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add -
# apt-get update
- Adding some lines to "/etc/systemd/system.conf":
followed by a
# systemctl daemon-reload
- The install Jitsi:
# apt-get -y install jitsi-meet
When asked for the certificate, I recommend to go for the self signed at first and get the correct one later. For this step you need to know the FQDN for your Jitsi instance and the DNS entry should point to the correct IP.
- Then get a correct certificate via Let's Encrypt:
After a few seconds you'll have you own Jitsi server up and running. You can now connect to your server using Firefox or Chrome (WebRTC is required). You can now create your own Meetings.
BUT SO CAN EVERYONE ELSE who knows the FQDN of your server. He just connects to https://<your-fqdn>/<new-room-name> and a new meeting spawns into existence.
Up to this point everything was pretty easy. But that was not what I wanted to achieve. My plan was:
- To create a new meetings, one has to be a registered user and to authenticate
- Anonymous users are still allowed, but can only connect to existing meetings.