Sunday, October 5, 2014

How to configure XMPP server (ejabberd), Chat server

1- Install ejabberd
root@chatserver# apt-get install ejabberd

2- configure domain on ejabberd, modify /etc/ejabberd/ejabberd.cfg line to
(jabber domain test.qq)

{hosts, ["test.qq"]}.

3- register administrator user to control ejabberd that able to access web interface.
The administrator user is and password admin

root@chatserver# ejabberdctl register admin test.qq admin

4- add acl for admin to access web interface by add the following to /etc/ejabberd/ejabberd.cfg

{acl, admin, {user, "admin", "test.qq"}}.
{access, configure, [{allow, admin}]}.

5- access web interface to create user
access the url on the chat server http://localhost:5280/admin/

6-- finally user can start chatting using pidgin

1 comment:

  1. Excellent piece of information, I had come to know about your web-page from my friend hardkik, chennai,i have read atleast 9 posts of yours by now, and let me tell you, your webpage gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new posts, once again hats off to you!