Installation of openfire jabber xmpp server on openSUSE server
- download the rpm form the website
- install the rpm with
# zypper in openfire.rpm
- tidy the start script /etc/init.d/openfire. Paste this at the beginning of the file, replacing what is already there....
#! /bin/sh
#
# openfire Stops and starts the Openfire XMPP service.
#
### BEGIN INIT INFO
# Provides: openfire
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 3 5
# Default-Stop:
# Description:
# description: Openfire is an XMPP server, which is a server that facilitates \
# XML based communication, such as chat.
# config: /opt/openfire/conf/openfire.xml
# config: /etc/sysconfig/openfire
# pidfile: /var/run/openfire.pid
# Short-Description: XMPP server
### END INIT INFO
- start the server
# /etc/init.d/openfire start
# /etc/init.d/openfire status
- go to the admin url http://:9090
fill in the right data
Before you can login for the first time, you may have to stop and start the service.
- make it start automagically
# chkconfig -a openfire
Troubleshooting
Openfire admin password
Find the sparkweb.xml file in the Conf directory, open it in your favorite text editor and place the following:
<admin>
<authorizedUsernames>joe</authorizedUsernames>
</admin>
Then restart the service!!
Where "joe" is any user you want to use as the admin. This will allow you to login with an account you know.
If this doesn't work, open the same sparkweb.xml file, find the entry near the bottom that says true and change it to false.
Stop and start the service, open the admin console and you will be prompted to begin the setup again. You previous settings will be saved and you can press "save & continue" for most settings. When it asks for the admin account, fix it there.
No comments to display
No comments to display