Xmpp/Jabberd2 Installation

From Debuntu

Jump to: navigation, search

In this document, the word Jabber and Xmmp will be used intermittently.

As with most services, configuration happens in /etc/jabberd2/ directory.

Setting up the hostname

You need to set up your jabber server's hostname in both sm.xml (Session Management) and c2s.xml (Client to Server???).

In sm.xml find the entry <sm><id></id></sm> and add:

<sm>
    <id>xmpp.example.com</id>
</sm>

In c2s.xml find the entry <local><id></id></local> and add:

<id pemfile='/etc/jabberd2/myserver.pem' require-starttls='true'>xmpp.example.com</id>

This will forbid user from registering (corporate network where the user account has to be created in the first place) as there is no register-enable argument and will force them to use TLS.

The certificate is generated as shown in OpenSSL#Generate_a_self-signed_certificate

Setting up storage driver

For simplicity reason, we are going to use the berkeley db driver. Under the <storage> part, make sure <driver></driver> is set to:

<driver>db</driver>

References

References:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
Google AdSense