arch-wiki-md-repo
Version:
All arch-wiki articles in markdown format, updated every two days.
38 lines (22 loc) • 1.32 kB
Markdown
[jabberd2](http://jabberd2.org/) is an [XMPP](https://en.wikipedia.org/wiki/XMPP "wikipedia:XMPP") server, written in the C language and licensed as free software under the GNU General Public License. It was inspired by jabberd14.
## Contents
* [1 Installation](#Installation)
* [2 Configuration](#Configuration)
* [2.1 Daemon](#Daemon)
* [3 See also](#See_also)
## Installation
[Install](/index.php/Install "Install") the [jabberd2](https://aur.archlinux.org/packages/jabberd2/) package.
## Configuration
Edit `/etc/jabberd/c2s.xml` and change the content of the tag `<id register-enable='mu'>` to your domain.
That is the line that will be added to your users id. (If you put there `example.com`, your users id will be something like `user@example.com`). If the jabber service is going to be accessible over open internet (instead of a VPN or LAN), then that name **SHOULD** be resolved by DNS to your server.
The `register-enable='mu'` part, allows the registration of accounts, using a standard jabber client.
Also set your server on `sm.xml`:
`/etc/jabberd/sm.xml`
```
<id>mymachine.com</id>
```
### Daemon
Configure the `jabberd.service` to start on boot.
Read [Daemons](/index.php/Daemons "Daemons") for more information.
## See also
* [Jabberd2 homepage](http://jabberd2.org/)