Installing an XMPP server on Debian 7

This guide wil cover installing an XMPP/Jabber server (ejabberd) in Debian 7 (Wheezy). This XMPP daemon supports both c2s and s2s messages. C2s messages are messages from your chat client to the XMPP server. This message wil be delivered to another user that has an account on your XMPP server. If the user is on another domain name ejabberd wil send an s2s message to the other server (called XMPP federation) and the other server delivers the message with c2s messages to that client