

Set the Ejabberd environment variable sudo su -Įxport PATH=$PATH:/opt/ejabberd-21.12/bin/Ĭreate an admin account with the preferred credentials as below. Using the ejabberdctlcommand, we will create the admin user to access the Web Admin dashboard. Sudo firewall-cmd -reload Step 4 – Create the Ejabberd XMPP admin user You can also use Wget to pull the RPM file as below.
Ejabberd clustering install#
GRANT ALL ON ejabberd.* TO IDENTIFIED BY ' Passw0rd' ĮXIT Step 2 – Install Ejabberd on Rocky Linux 8|AlmaLinux 8ĭownload the latest Ejabberd RPM package from the Ejabberd release page. Login to MariaDB using the created root password. $ sudo mysql_secure_installationĮnter current password for root (enter for none): Once the installation is complete, start and enable the MariaDB service. Install MariaDB on Rocky Linux 8 | AlmaLinux 8 with the command: sudo yum install -y mariadb-server In this guide, we will use MariaDB for data persistence instead of the default Mnesia database. sudo yum install glibc wget mlocate Step 1 – Install and Configure MariaDB
Ejabberd clustering update#
It is so important to update your system packages to their latest stable versions before we plunge in. The Ejabberd XMPP Server can be installed and configured on Rocky Linux 8 | AlmaLinux 8 by following the below steps. Modular – can be extended through a powerful API with third-party extensions to enhance and tailor its behavior.īy default, Ejabberd uses the internal Mnesia (distributed internal Erlang database) to store its data although other SQL databases(MySQL, PostgreSQL) and NoSQL databases(Riak e.t.c) are supported.Highly customizable – offers many customization hooks to adapt it easily to various use cases i.e mobile messaging, gaming, internet of things (IoT) e.t.c.Easy to manage using the powerful command-line tool that allows controlling most of the aspects of the server.

Highly scalable – it can accomodate about 2,000,000 users on 1 node, memory reduction of the data kept in memory for each connected user, pubSub broadcast optimisation with reduction of internal data transfer in cluster setup.Fault tolerance – Upgradable while it is running: unmatched uptime, can run in a cluster out of the box, no messages are lost.

Ejabberd clustering full#
