eJabberd XMPP Server on Ubuntu 15.10 & 14.04

ejabberd is an XMPP application server, written mainly in the Erlang programming language. It can run under several Unix-like operating systems such as Mac OS X, GNU/Linux, FreeBSD, NetBSD, OpenBSD and OpenSolaris. Additionally, ejabberd can run under Microsoft Windows. The name ejabberd stands for Erlang Jabber Daemon (Jabber being a former name for XMPP) and is written in lowercase only, as is common for daemon software.

Install eJabberd

$ sudo apt-get install ejabberd

Configure eJabberd

For this installation we are using domain in configuration. You may only use localhost for you local system, but for remote server use a domain or sub-domain. So at first I make a host file entry to map with eJabberd server ip address.
$ sudo echo "" >> /etc/hosts
Now you need to create admin accounts for your domain. Below commands will create admin accounts for both virtual hosts localhost and
$ ejabberdctl register admin localhost password
$ ejabberdctl register admin password
Now edit ejabberd configuration file /etc/ejabberd/ejabberd.yml in text editor and add acl for admin user for
         - "admin": "localhost"
         - "admin": ""
Now add under hosts section.
  - "localhost"
  - ""

Access eJabberd Web Panel

After making all above configuration, let’s restart eJabberd service using following command.
$ sudo service ejabberd restart
eJabberd admin web panel start on default port 5280. Access access your domain on port 5280 followed by /admin

About Author:

I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Newer Post
Older Post


Post a Comment