Install your own Instant Messaging Server with Openfire
Openfire is a powerful instant messaging (IM) and chat server that implements the XMPP protocol written in Java. It is previously known as Wildfire and Jive Messenger.
In this article, let us see how to setup a Instant Messaging Server using Openfire in CentOS/RHEL based platforms. Openfire is very easy to install and administer through a cool web interface.
Download the latest version of Openfire here. I prefer the RPM file. Because it contains Java application which is necessary for Openfire. Or you can install Java using the following command:
# yum install java-1.7.0-openjdk -y
# rpm -ivh openfire-3.8.2-1.i386.rpm
Now start the openfire service and let it to start automatically on every reboot:
# service openfire start # chkconfig openfire on
Add the Openfire administrative ports 9090 (http) and 9091 (https) in your firewall/router to access Openfire from anywhere:
# vi /etc/sysconfig/iptables [...] -A INPUT -p tcp -m state --state NEW --dport 9090 -j ACCEPT -A INPUT -p tcp -m state --state NEW --dport 9091 -j ACCEPT [...]
Restart iptables using the following command:
# service iptables restart
Now navigate to http://ip-address:9090 from your browser. You should see the following screen. Select your preferred language and press Continue.
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. To install and configure external databases click on this link. Here, I select Embedded Database Connection.
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.
# service openfire restart
Click on Login to Admin Console to enter into Openfire administrative console. Enter username and password. Both are admin.
Now change the administrator user password. To do that, Go to Users/Groups tab. Click on the administrative user. Click on Password tab in the left pane and enter the new password twice.
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.
Connecting to Openfire
Download the Openfire client Spark from here. Install it in your client systems. Open Spark and register for the new user. Alternatively you can use Pidgin Messenger that comes with pre-installed on all distributions.
Open Pidgin Messenger from your client systems. Go to Accounts -> Manage Accounts -> Add. A new window will open now. Select XMPP in the Protocol drop-down list. Enter the Openfire user name, password and domain name which you have created in the administrative console.
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- Fedora 21 Scheduled For Release In October : For Fedora users, just keep calm and use Fedora 20 for now. Fedora Developers has announced that F...1 comment |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Install LAMP Server (Apache, MySQL or MariaDB, PHP) On Ubuntu 13.10 : Updated January 12, 2014 LAMP is a combination of operating system and open-source software stack. ...0 comments |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comments |
- How to Install uTorrent Client on Ubuntu/Debian/Linux Mint : uTorrent is a lightweight and efficient BitTorrent client for Linux, Windows OS and Mac OS. The inst...0 comments |
- Fedora 21 Scheduled For Release In October
- Install Uget Download Manager In Ubuntu, Fedora, Debian
- Download Elementary OS ‘Luna’ Official Wallpapers
- Install Power Commands 0.1.5 On Ubuntu 14.04/13.10/12.10/12.04
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful
- Puppet agent Install Using Script
- Install Corosync and Pacemaker On CentOS 6.5
- Install Fail2Ban On Ubuntu Server 13.04/13.10
- How To Install Google Chrome in Fedora 20, 19, 18
- How to surf using Tor Browser Bundle
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .