O'Reilly logo

Linux Networking Cookbook by Gregory Boyce

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing ejabberd

Currently there are a number of Open Source XMPP/Jabber server projects available with their own individual strengths and weaknesses. For this chapter, we're going to look at ejabberd, which is an extremely powerful and flexible option that has great online documentation. The code for ejabberd is written in Erlang, which is a language created for writing distributed, fault tolerant code. While we will not be taking advantage of the native clustering of ejabberd, it does exist for future expansion.

How to do it...

  1. Install ejabberd through the following command:
    sudo apt-get install ejabberd
    
  2. Restrict access to the authentication script:
    sudo chown root:ejabberd /usr/lib/ejabberd/priv/bin/epam
    sudo chmod 4750 /usr/lib/ejabberd/priv/bin/epam ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required