Tag Archives: Jabber

Why should I run my own services?

Even if you’re not a familiar with configuring complex computer systems, there are easy ways to get started. Go to your local Linux User Group or search the web for groups in your town that help others with technical problems. Start to read blogs and tutorials about running an email server or a jabber server.Ask people for their configurations and make a plan what want to do. Check with others if everything you plan is working and configured correctly for security reasons. Use encryption whenever you want to share private information about a network. Host your website on your own and grow your knowledge about how things work. This is important to all of us. We need alot of people who know how things work behind fancy a gui. The public internet was built by private persons and small companies at the beginning. Running your own services helps to make the internet decentralized as it should be.

What services can you provide?

  • Run your own email server for your domain.
  • Run you own jabber server.
  • Think about sharing some bandwidth for the Tor network by setting a bridge.
  • Get creative and run every service you need.

Install ejabberd on CentOS

ejabberd is one of the most popular jabber servers. This howto explains how to run your own jabber server on CentOS using ejabberd.


First you need to activate EPEL-Repository on your CentOS machine.


install it via yum:

yum install ejabberd



configure your firewall to allow following default ports:

5280:tcp for configuration admin-interface

5222:tcp for xmpp default port without ssl


5223:tcp for xmpp with ssl

5269:tcp for communication with other jabber servers


main configuration files are located under /etc/ejabberd

modify following lines in you /etc/ejabberd/ejabberd.cfg



{hosts, [“example.com”]}.

add admin:

{acl, admin, {user, “username”, “example.com”}}.


now start your server and add the admin user:

/etc/init.d/ejabberd start


 ejabberdctl register username example.com password


Connect to webinterface on <ip_or_hostname>:5280/admin

use your admin user you defined to login.