Search This Blog

Showing posts with label OpenFire. Show all posts
Showing posts with label OpenFire. Show all posts

Wednesday, March 13, 2013

Install Openfire Chat Server at RHEL/CentOS/OEL 6

# wget http://download.igniterealtime.org/openfire/openfire-3.8.1-1.i386.rpm
# rpm -ivh openfire-3.8.1-1.i386.rpm
# service openfire start

check out the /opt/openfire/logs

Found it can't start.

I got it to start on RHEL 6 64 bit by installing the 32 bit library
yum install libldb.i686

It's actually just zlib.i686 it needs.
Installing libldb isn't necessary, but it installs zlib as a dependency.

Then goto http://[Server IP]:9090

Domain:
Admin Console Port:9090
Secure Admin Console Port:9091
Standard Database Connection:

Install mysql database to support it or use internal DB for small group.

# yum install mysql-server.x86_64
# service mysqld start
# /usr/bin/mysql_secure_installation
# chkconfig mysqld on

Create an new openfire database and user.

# chkconfig openfire on