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.

 

Requirement:–

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

2)      Set hostname chat.how2isntall.in & IP address 10.0.0.245/24

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.)

 

Step-1:         

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

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

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

Step-2:

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.

GNU GENERAL PUBLIC LICENSE
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)

----------------------------------------------------------------------------
Cluster

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
computer.

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.

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

View Readme file? [Y/n]: y

README

Release Notes
ejabberd 2.1.12

ejabberd 2.1.13 includes just a few bugfixes.

Read more details about the changes in:
http://redir.process-one.net/ejabberd-2.1.13

Download the source code and installers from:
http://www.process-one.net/en/ejabberd/


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:
http://support.process-one.net/

Press [Enter] to continue :
root@chat:~#

Step-3:

start ejabberd service.

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

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

has been started...

Step-4:

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 (127.0.0.1)
Host is up (0.0000030s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
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
root@chat:/opt/ejabberd-2.1.13/bin#

Step-5:

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

web-ej

 

 

 

 

 

 

 

 

 

{#moods_dlg.WellDone}

Leave a Reply

Time limit is exhausted. Please reload the CAPTCHA.