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.
$ sudo apt-get install ejabberd
$ sudo echo "192.168.10.120 demo.hackthesec.co.in" >> /etc/hosts
$ ejabberdctl register admin localhost password $ ejabberdctl register admin demo.hackthesec.co.in password
acl: admin: user: - "admin": "localhost"
hosts: - "localhost" demo.hackthesec.co.in"
Access eJabberd Web Panel
$ sudo service ejabberd restart