Configuring the Ejabberd installation
Ejabberd comes with various default settings that make it easy to get started. We can install Ejabberd and start using it as soon as installation completes. This works when we are testing our setup, but when we need a production server, we need to make a number of changes to the default installation. Ejabberd provides a central configuration file through which we can easily configure our XMPP installation.
This recipe covers the basic configuration of the Ejabberd server.
Getting ready
Make sure that you have installed the Ejabberd server.
You will need access to a root account or an account with sudo
privileges.
How to do it…
Ejabberd configuration files are located under the conf
directory in the Ejabberd installation. On the Ubuntu server, it should be /opt/ejabberd-version/conf
.
Follow these steps to configure the Ejabberd installation:
- Open the
ejabberd.yml
file. It contains configuration settings in the YML format. - Let us start by setting the domain...