Install your own Instant Messaging Server.

Today My Topic Was 'How to Install your own Instant Messaging Server' on Centos-6.. or Rhel-6..
This Topic Is very Interested, and I've successfully completed this task..
I'll just update In Linux Only Group..

Use- Openfire

What Is Openfire ?

Openfire is an Instant Messaging and Group chat server, written in Java that uses XMPP (Extensible Messaging and Presence Protocol) server. Wikipedia reports, Openfire was previously called as ‘Wildfire‘ and ‘Jive Messenger‘. The Application Software is developed by Jive Software and a community called ‘‘, and is Licensed underApache License.

Openfire Features-

1- Web Based Admin control
2- SSL/TLS support
3- LDAP connectivity
4- User Friendly
5- Platform Independent

Step- 1 

1- Change IP Address.. 

[root@server ashutosh]# vim /etc/sysconfig/network-scripts/ifcfg-eth0


2- Restart Network Service..

[root@server ashutosh]# service network restart

[root@server ashutosh]# ifconfig

Step-2  Download Openfire
[root@server ashutosh]# wget

Step-3 Install Download Package
[root@server ashutosh]# rpm -ivh openfire-3.8.2-1.i386.rpm

Step-4 Start Openfire Service  

[root@server ashutosh]# service openfire start
[root@server ashutosh]# chkconfig openfire on

Step-5 Add the Openfire administrative ports 9090 (http) and 9091 (https) in your firewall/router to access Openfire from anywhere..

[root@server ashutosh]# vim /etc/sysconfig/iptables-config

 A INPUT -p tcp -m state --state NEW --dport 9090 -j ACCEPT
 A INPUT -p tcp -m state --state NEW --dport 9091 -j ACCEPT

Step-6 Restart Iptables Service
[root@server ashutosh]# service iptables restart

Step-7 Now navigate to http://ip-address:9090 from your browser. You should see the following screen. Select your preferred language and press Continue.

Open Web Browser-

Select English Language..and Click Continue..

Inline image 1


Enter your server hostname or IP address and press Continue.

Admin console port-              9090
Secure Admin Console Port- 9091
Inline image 2


Now you will be asked to select the database settings. Openfire offers an embedded database powered by HSQLDB. Or you can select external databases like MySQL and Oracle etc.

Here, I select Embedded Database Connection. then click Continue..

Inline image 3

Now choose your profile settings and press Continue. Or you can import the users from LDAP server
Select- Default and click Continue

Inline image 4

Now the installer will ask you to set the administrator password. Setup your account password. It will ask the current password. If it is new installation, the default password will be admin. I don’t want to change admin password. So here I skip this step to use the default password.

Admin Email Address-
New Password-              *******
Confirm Password-        *******
Then Click Continue Button..
Inline image 5


Openfire installation is completed now. Restart the openfire service now. It is important. Otherwise you can’t login to administrative console:
Again open web browser-
Username-     admin
Password-      *******
Click Login Button..

Inline image 7

You will be able to login to the administrative console.

Inline image 8
Image -9 

Create Users

Go to Users/Groups section. Select Users tab. Click on Create a new user link and enter the username and password for the new user. Click on Create.
Inline image 9

Note- By this way, you can create as many users as you like.

Now Openfire server has been successfully completed ...

Client PC Or (Other Linux System)-

Step-1 Install Pidgin internet messenger-

1- Download Pidgin

[root@server ashutosh]# 

2-  Extract Download File

[root@server ashutosh]# tar xvfz pidgin-sipe-1.8.0.tar.gz

3- Go to pidgin-sipe Directory

[root@server ashutosh]# cd pidgin-sipe

4- Now Install...

[root@server ashutosh]# 
./configure;make;make install 

Note- Most of the time when you install software/packages in Linux you no need to restart the machine. But this addon/plugin to work you have to restart your machine(its my observation, if its works without restart its good).

5- Configuring Pidgin to support OCS.

-->Go to Applications
  -->Pidgin instant messenger
    -->Manage Accounts

Login Option or Check Image-10 

-->Protocol-       XMPP
-->Username-    ashutosh

-->Domain-      ( Serve IP) 
-->Password-  *******

 -->Click Add Option..

Inline image 10


Inline image 11

That’s it. Start chatting with your friends!

I Hope You Like It..
So Enjoy..

Click Back..                                Click Home..