XMPP / Jabber Server unter Debian 6 Squeeze

  1. Install
     aptitude install ejabberd
  2. edit /etc/ejabberd/ejabberd.conf
    {hosts, ["jabber.myserver.tdl"]}.
    {acl, admin, {user, "myuser", "jabber.myserver.tdl"}}.
  3. restart server
     /etc/init.d/ejabberd restart
  4. admin einrichten
     ejabberdctl register myuser jabber.myserver.tdl geheim
  5. erneuter restart
    /etc/init.d/ejabberd restart
  6. status check
    ejabberdctl status
  7. WebGui starten
    http://jabber.myserver.tdl:5280/admin
    Benutzername: myuser@jabber.myserver.tdl
  8. Clients via console hinzufügen
    ejabberdctl register myuser2 jabber.myserver.tdl geheim2

Firewall Setup

# 5222 für Jabberclients (c2s)
# 5269 Server2Server (s2s)
# 5280 admininterface auf loopback-device, erreichbar über ssh-tunnel
IPTABLES -A INPUT -m state --state NEW -p tcp --dport 5222 -j ACCEPT
IPTABLES -A INPUT -m state --state NEW -p tcp --dport 5269 -j ACCEPT

Generating a Self-Signed SSL Certificate (http://www.jabberdoc.org/app_sslkey.html)

openssl req -new -x509 -newkey rsa:4096 -days 3650 -keyout privkey.pem -out server.pem
openssl rsa -in privkey.pem -out privkey.pem
cat privkey.pem >> server.pem
rm privkey.pem

enter your domain name as the Common Name for your certificate!

Minix 3 pkgin mirror

You just have to mirror ftp://ftp.minix3.org/pub/minix/packages/ with e.g. http://www.debian.org/mirror/ftpmirror.en.html or http://www.debian.org/mirror/ftpmirror or
wget –mirror ftp://ftp.minix3.org/pub/minix/packages

Size of Minix 3.2 ( ftp://ftp.minix3.org/pub/minix/packages/3.2.0/ ) is about 400 MB (05.07.2011)

next step is to edit /usr/pkg/etc/pkgin/repositories.conf and change the path to your local one.

after a pkgin update you are done 😀