Popular Posts

Install Openfire chat server communicator on Linux Ubuntu 12.04 or 12.10

2:20 PM 7 Comments A+ a-

If you need LAN communicator or intern communicator on which you can connect from internet, on which you can edit groups, rooms, users ... everything you need to do with instant messaging protocol... you should try openfire.
Her is full tutorial how to install/setup openfire on ubuntu 12.04. or 12.10 Tutorial is needed because openfire non-opendsource  java runtime , and that java runtime you can't install without some tweaks.
It should work on Ubuntu 15.04, Ubuntu 15.10...

For example I installed Ubuntu 12.04 LTS Server in VirtualBox. I choose all default options, and I didn't install any server feature, you don't need it. We will install all by entering commands in command line / terminal. Only thing you need is java, which we will install later.

This is my fresh installed Ubuntu 12.04 LTS Server

Now we will download script which will enable us to install java.
You can download script from HERE.
When you download it , extract it with syntax: tar -xzvf filename.tar.gz

You will get this:
Content of sript which will enable us to instal sun java.
Then enter command: sudo bash oab-java6.sh
And it will start working... it will tako some time...
Script is installing

When it is done you can install sun java: apt-get install sun-java6-jdk

After installing is done you can check your java version: java -version

After this you can install openfire program.
First download openfire:  wget http://download.igniterealtime.org/openfire/openfire_3.7.1_all.deb

And after downloading install it: dpkg -i openfire_3.7.1_all.deb


After this step you can access openfire server by web page, enter(change IP to your server IP) in browser: http:\\192.168.1.30:9090

If you see this it means that openfire is sucesfully instaled.


 Openfire have intern database which you can use for data storage of openfire data but it can bee slow after some time, so you can install mysql and connect openfire to mysql, enter commands:
#mysql -u root -p
mysql > CREATE DATABASE openfire;
mysql > quit;


And select "Standard Database Connection" on Databse Settings page, I choose Embedded database beacuse I have already some data in it.


 And after some few steps you are ready to use openfire!

UPDATE: If you have problems with low memory in Openfire and if it stops frequently you should do those steps: http://linuxibos.blogspot.com/2013/02/openfire-chat-server-out-of-memory.html

7 komentari

Write komentari
tekilla
AUTHOR
October 4, 2012 at 11:21 PM delete

failing while running script:

[x] Downloading jdk-6u35-linux-i586.bin : http://: Invalid host name.
8715's retcode: 1
failed

is it trying to pull from a site that is no longer there?

Reply
avatar
Anonymous
AUTHOR
October 10, 2012 at 10:43 AM delete

You must download the packed files. Dont download the script directly. Then tar -xvzf "the_unpacked_file"

It should work.

So much Thx for tutorial.

Reply
avatar
Sam Sanders
AUTHOR
March 21, 2014 at 12:24 PM delete

hi were is the tar.gz i cant find it, only thing i found to download was oab-java6.sh with wget

Reply
avatar
January 16, 2016 at 12:51 PM delete

Its really good software Ubuntu. And the way you explain these point is really knowledgeable.
windows 7 migration

Reply
avatar
March 25, 2017 at 6:11 AM delete

www.msoffice365setup.com is www.office.com/setup support for you to enhance ... Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office setup...Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office setup assistant will call you and ask the issue right now. www.msoffice365setup.com is MS...MS Office Helpline number AUS, UK Website: www.msoffice365setup.com MS Office Product Key Support Website: www.msoffice365setup.com Toll free Number 1800-214-7583….Office Setup Support I www.office.com/setup I office.com/setup...
And Click Here: http://www.msoffice365setup.com

Reply
avatar