Skip to content

Ejabberd: Preparing Ejabberd

Yanchuk Taras edited this page Nov 3, 2017 · 7 revisions

Archipel needs ejabberd as XMPP server (only ejabberd supports sufficiently XMPP protocol for the needs of Archipel).

Here are the steps to sucessfully install Ejabberd to running on most of linux distribuition.

For more detail about architeture and concepts read this page.

Install ejabberd

To be distro agnostic will use the binary installer provided by Process One

The release 17.09 is the recommended release but you can take the latest as well.

Steps to install:

  • Grab the binary according to your platform (or use the rpm)
  • Create a user to run ejabberd as non privilegied user (useradd -m -d /opt/ejabberd ejabberd)
  • Install the binary as the ejabberd user (chmod 755 /tmp/ejabberd-17.09-linux-x86_64-installer.run; sudo -u ejabberd /tmp/ejabberd-17.09-linux-x86_64-installer.run --mode unattended --adminpw admin --prefix /opt/ejabberd/)

You are done you have a working installation of ejabberd.

Starting ejabberd

In /opt/ejabberd/bin directory you will find;

  • ejabberd.service for systemd (cp /opt/ejabberd/bin/ejabberd.service /usr/lib/systemd/system/ && systemctl enable ejabberd)
  • ejabberd.init for init.d

Choose the one you want to use according to your distro or just ran /opt/ejabberd/bin/ejabberdctl start to start it right now.

Configuration

When you are done, please continue to ejabberd configuration:

Clone this wiki locally