Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
ejabberd is a distributed, fault-tolerant technology that allows the creation of large-scale instant messaging applications. The server can reliably support thousands of simultaneous users on a single node and has been designed to provide exceptional standards of fault tolerance. As an open source technology, based on industry-standards, ejabberd can be used to build bespoke solutions very cost effectively.
ejabberd runs under Microsoft Windows and Unix-derived systems such as Linux, FreeBSD and NetBSD.
You can run ejabberd on a cluster of machines and all of them will serve the same XMPP domain(s). When you need more capacity you can simply add a new cheap node to your cluster. Accordingly, you do not need to buy an expensive high-end machine to support tens of thousands concurrent users.
You can deploy an ejabberd cluster so that all the information required for a properly working service will be replicated permanently on all nodes. This means that if one of the nodes crashes, the others will continue working without disruption. In addition, nodes also can be added or replaced ‘on the fly’.
ejabberd is built on top of the Open Source Erlang. As a result you do not need to install an external database, an external web server, amongst others because everything is already included, and ready to run out of the box. Other administrator benefits include:
ejabberd leads in internationalization. Hence it is very well suited in a globalized world. Related features are:
ejabberd is the first Open Source XMPP server claiming to fully comply to the XMPP standard.
Moreover, ejabberd comes with a wide range of other state-of-the-art features:
To compile ejabberd you need:
If your system splits packages in libraries and development headers, you must install the development packages also.
To compile ejabberd, execute the following commands. The first one is only necessary if your source tree didn't come with a
configurescript (In this case you need autoconf installed).
./autogen.sh ./configure make
To install ejabberd, run this command with system administrator rights (root user):
sudo make install
These commands will:
You can use the
ejabberdctlcommand line administration script to start and stop ejabberd. For example:
For detailed information please refer to the ejabberd Documentation
Alternatively, you can setup ejabberd without installing in your system:
./configure --with-rebar=rebar3 make dev
Or, if you have Elixir available and plan to develop Elixir code:
./configure --with-rebar=mix make dev
Check the full list of targets:
In order to assist in the development of ejabberd, and particularly the execution of the test suite, a Vagrant environment is available at https://github.com/processone/ejabberd-vagrant-dev.
To start ejabberd in development mode from the repository directory, you can type a command like:
EJABBERD_CONFIG_PATH=ejabberd.yml erl -pa ebin -pa deps/*/ebin -pa test -pa deps/elixir/lib/*/ebin/ -s ejabberd
Using any gettext editor, you can improve the translation files found in
priv/msgs/*.po, and then submit your changes.
Alternatively, a simple way to improve translations is using our Weblate project: https://hosted.weblate.org/projects/ejabberd/ejabberd-po/