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
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 |
- Manage Databases And Hosted Servers Remotely With DbNinja : Database administration via command line is bit difficult for newbie system and database administrat...0 comments |
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu : GLPI is the Information Resource-Manager with an additional Administration Interface. You can use it...0 comments |
- How To Configure Linux Clients To Authenticate Using OpenLDAP : This is the continuation of our previous tutorial. In our previous tutorial we learned how to instal...0 comments |
- Install FrostWire 5.6.9 In Elementary OS 'Luna'/ Ubuntu / Linux Mint : FrostWire is a peer-to-peer file sharing program for the gnutella and BitTorrent protocols. FrostWir...0 comments |
- 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 |
- How To Install Brasero In Elementary OS ‘Luna’
- Install Sayonara Player In Elementary OS / Ubuntu / Linux Mint
- Manage Databases And Hosted Servers Remotely With DbNinja
- Install FrostWire 5.6.9 In Elementary OS ‘Luna’/ Ubuntu / Linux Mint
- Setup IT And Asset Management System With GLPI On Debian/Ubuntu
- How To Configure Linux Clients To Authenticate Using OpenLDAP
- How To Install Netflix In Ubuntu
- cowsay And fortune Combined Together
- How To Show Username On Panel In Ubuntu 13.04/13.10
- Setup DNS Server On openSUSE 13.1
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .