ClearFoundation

Ejabberd

This is an old revision of the document!


ejabber is a FOSS XMPP server. http://www.ejabberd.im/

This procedure doesn't take into account any Firewall rules. It assumes that ClearOS is in standalone mode.

Download

Download the Linux installer from http://www.process-one.net/en/ejabberd/downloads

Install
chmod +x ejabberd-2.1.8-linux-x86-installer.bin
./ejabberd-2.1.8-linux-x86-installer.bin
Start
cd /opt/ejabberd-2.1.8/
bin/ejabberdctl start
Web management interface

http://example.com:5280/admin/

Here, you can create some accounts.

Get a jabber client

http://xmpp.org/xmpp-software/clients/

(You can test with the main admin account)

If you don't know which one to take?

Configure LDAP

Change the /opt/ejabberd-2.1.8/conf/ejabberd.cfg

[root@clearos ejabberd-2.1.8]# diff conf/ejabberd.orig.cfg conf/ejabberd.cfg
196c196
< {auth_method, internal}.
---
> %%%%{auth_method, internal}.
220c220
< %%{auth_method, ldap}.
---
> {auth_method, [internal, ldap]}.
223c223
< %%{ldap_servers, ["tikisuite.org"]}.    
---
> {ldap_servers, ["tikisuite.org"]}.    
226c226
< %%{ldap_uids, [{"mail", "%u@mail.example.org"}]}. 
---
> {ldap_uids, [{"mail", "%u@tikisuite.org"}]}. 
229c229
< %%{ldap_base, "dc=example,dc=com"}. 
---
> {ldap_base, "dc=tikisuite,dc=org"}. 
232c232
< %%{ldap_rootdn, "dc=example,dc=com"}. 
---
> {ldap_rootdn, "cn=manager,cn=internal,dc=tikisuite,dc=org"}. 
235c235
< %%{ldap_password, "******"}. 
---
> {ldap_password, "Put Your Password here"}.
Restart
cd /opt/ejabberd-2.1.8/
bin/ejabberdctl restart
Security

This needs to be documented.

Known issues

* Jitsi is not connecting (but Miranda is if you uncheck TLS from default XMPP settings)



Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Video demonstrations - Copyright © 2010 ClearCenter Corporation