How to Set Up Prosody XMPP Server on Ubuntu 18.04
Prosody is a free open-source XMPP server written in Lua. It’s fast and lightweight. XMPP is a great protocol for instant messaging. This tutorial is going to show you how to install and configure Prosody XMPP server on Ubuntu 18.04. Once you have finished this tutorial, you will have your own chat server.
Step 1: Install Prosody on Ubuntu 18.04
Prosody is included in the default Ubuntu repository, but it’s very out of date. The Prosody team maintains a package repository. If you want to get the latest version, then you need to add the Prosody repository with the following command.
echo 'deb https://packages.prosody.im/debian bionic main' | sudo tee /etc/apt/sources.list.d/prosody.list
Then run the following command to download and import Prosody public key, which allows APT package manager to verify the integrity of packages downloaded from this repository.
Read full tutorial here: https://www.linuxbabe.com/ubuntu/prosody-xmpp-server-ubuntu-18-04