On this page
EJabberd: Setting up a Jabber server (instant messaging)
Introduction
ejabberd is a Jabber server written in Erlang, a relatively unknown language but optimized for distributed applications. ejabberd is supported by the French company Process One and is increasingly used. ejabberd handles high loads well and thanks to Erlang, it’s easy to create a cluster of ejabberd servers. Its installation and administration are made easy through its web interface.
Installation and configuration
- First, you need to install ejabberd. (On Ubuntu or Debian, a simple
apt-get install ejabberd
is sufficient) - Edit the configuration file
/etc/ejabberd/ejabberd.cfg
and add your domain name to the hosts line (around line 94)
{hosts, ["example.net"]}.
Still in the configuration file, add your username as administrator (around line 9):
{acl, admin, {user, "myaccount"}}.
- Restart the server:
/etc/init.d/ejabberd restart
- Create a user account with any Jabber client
- Connect to:
http://localhost:5280/admin
Note: the login is the complete JID, including “@domain”
- That’s it, you now have access to the configuration interface
Last updated 26 Mar 2007, 20:48 CEST.