User Tools

Site Tools


Jabberd2 HowTo

Based on, but using sqlite as db backend for liteweight.

For sqlite info I have skewet at this on .

The basic conf has been taken from .

Put the following line in /etc/portage/package.use

net-im/jabberd2 -mysql -postgres sqlite sasl

Put the following lines in /etc/portage/package.keywords

net-im/jabberd2 ~x86
  net-libs/libgsasl ~x86

This will, when calling emerge jabberd2, install the following:

myserver ~ # emerge -vp jabberd2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-libs/libgsasl-0.2.21  USE="nls -idn -kerberos -static" 756 kB 
[ebuild  N    ] dev-db/sqlite-3.5.6  USE="threadsafe -debug -doc -soundex -tcl" 2,485 kB 
[ebuild  N    ] net-im/jabberd2-2.1.23  USE="ipv6 pam sasl sqlite -debug -ldap -memdebug -mysql -pipe -postgres" 631 kB 

Total: 3 packages (3 new), Size of downloads: 3,871 kB

Unpack the default sqlite config

bzcat /usr/share/doc/jabberd2-2.1.23/tools/db-setup.sqlite.bz2 | sqlite3 /mnt/docs/data/jabber/sqlite.db

Open the following port in the firewall, and portforward them to the jabber server:

  • port 5222 – non-SSL client communication
  • port 5223 – SSL client communication
  • port 5269 – server to server communication


jabberd2/jabberd2.txt · Last modified: 2008/12/13 16:35 by deva