jabberd2:jabberd2
This is an old revision of the document!
Jabberd2 HowTo
Based on http://gentoo-wiki.com/HOWTO_Jabberd2_Server_Setup, but using sqlite as db backend for liteweight.
For sqlite info I have skewet at this on http://jabberd2.xiaoka.com/wiki/InstallGuide/QuickStartGuide .
Put the following line in /etc/portage/package.use
net-im/jabberd2 -mysql -postgres sqlite
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 sqlite -debug -ldap -memdebug -mysql -pipe -postgres -sasl" 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.1209479567.txt.gz · Last modified: 2008/04/29 16:32 by deva