Ejabberd Installation On LINUX

Ejabberd Installation On LINUX

We have already discussed about ejabberd  in previous article so  let’s start installation process on Linux.



1)      Fresh installation of Linux Ubuntu-Server-12.04 64bit.

2)      Set hostname chat.how2isntall.in & IP address

3)      Internet connectivity.

4)      Download latest sable release version of ejabberd at http://www.process-one.net/en/ejabberd/downloads/  .

 ejabberd-2.1.13-linux-x86_64-installer.run                  ——>(ejabberd installer file.)



Login with root user on chat.how2install.in ( & give execute permission to  ejabberd-2.1.13-linux-x86_64-installer.run

root@chat:~# ls

root@chat:~# chmod 700 ejabberd-2.1.13-linux-x86_64-installer.run


Run ejabberd installer file for ejabberd installation.

root@chat:~# ./ejabberd-2.1.13-linux-x86_64-installer.run
Language Selection

Please select the installation language
[1] Dutch - Nederlands
[2] English - English
[3] French - Français
[4] German - Deutsch
[5] Russian - РÑÑÑкий
[6] Simplified Chinese - ç®ä½ä¸­æ
[7] Spanish - Español
Please choose an option [2] : 2 --->(for English Language)

Welcome to the ejabberd Setup Wizard.

Please read the following License Agreement. You must accept the terms of this
agreement before continuing with the installation.

Press [Enter] to continue :

As a special exception, the authors give permission to link this program
with the OpenSSL library and distribute the resulting binary.

Version 2, June 1991

Press [Enter] to continue :

Do you accept this license? [y/n]: y ---->(press y to accept License)

Please specify the directory where ejabberd will be installed.

Installation Directory [/opt/ejabberd-2.1.13]: --->(we select default path but you can change it accordingly)

ejabberd server domain

Please enter the desired ejabberd domain name. The domain is the visible
attribute that is added to the username to form the Jabber Identifier (for
example: user@example.net). This computer must be known on the network with this
address name.

ejabberd server domain [chat.how2install.in]: how2isntall.in --->(Enter ejabberd domain)

Administrator username

Please enter the administrator username for the current ejabberd installation. A
Jabber account with this username will be created and granted administrative
privileges. Don't use blankspaces in the username.

Administrator username [admin]:--->(enter with default administrator user name)

Administrator password

Please provide a password for the administrator user (at least 5 characters).

Administrator password : --->(set password)
Retype password : --->(retype password)


Will this node be part of a cluster ? (Please note ejabberd clustering is
intended for advanced users).

Cluster [y/N]: y

Please copy your $HOME/.erlang.cookie file from another node. Warning: For
security reason, you are encouraged to block port 4369 from external connections
in your firewall.
Press [Enter] to continue :

Cluster node name

Please complete the cluster node name with the primary network name of this

Cluster node name: ejabberd@ [chat.how2install.in]: --->(enter with default cluster node name)

Setup is now ready to begin installing ejabberd on your computer.

Do you want to continue? [Y/n]: y

Please wait while Setup installs ejabberd on your computer.

0% ______________ 50% ______________ 100%
Setup has finished installing ejabberd on your computer.

View Readme file? [Y/n]: y


Release Notes
ejabberd 2.1.12

ejabberd 2.1.13 includes just a few bugfixes.

Read more details about the changes in:

Download the source code and installers from:

The changes are:

- Compilation: Detect correctly newer Darwin versions (EJAB-1594)
- Guide: ejabberd_service expects a shaper_rule, not a shaper
- MUC: Handle multiple < and > in mod_muc_log plaintext mode (EJAB-1640)
- MUC: Handle ~ control sequence in text of mod_muc_log (EJAB-1639)
- MUC: list_to_integer/2 only works in OTP R14 and newer
- Pubsub: access_createnode acl also applies to auto created nodes
- Web: Normalize HTTP path
- WebAdmin: Fix bug when displaying offline messages in WebAdmin
Press [Enter] to continue :

Bug reports

You can officially report bugs on ProcessOne support site:

Press [Enter] to continue :


start ejabberd service.

root@chat:~# cd /opt/ejabberd-2.1.13/bin/

root@chat1:/opt/ejabberd-2.1.13/bin# ./start

has been started...


check status & port number.

root@chat:/opt/ejabberd-2.1.13/bin# ./status
The node 'ejabberd@chat.how2install.in' is started with status: started
ejabberd 2.1.13 is running in that node
root@chat1:/opt/ejabberd-2.1.13/bin# nmap localhost

Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-09 22:05 IST
Nmap scan report for localhost (
Host is up (0.0000030s latency).
Not shown: 996 closed ports
22/tcp open ssh
5222/tcp open unknown
5269/tcp open unknown
5280/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds


Open it on web-browser http://localhost:5280/admin  or & enter the user name (admin@<domain-name>) and password which you entered during installation time.












Leave a Reply

Time limit is exhausted. Please reload the CAPTCHA.