How to Install Openfire in Debian Etch
What is Openfire
Openfire formerly known as Wildfire is a popular jabber/XMPP server written in Java and dual-licensed under both a proprietary license and the GNU General Public License. Openfire is easy to setup and administer, administration is done through a web interface, moreover Openfire offers numerous features, there are also several plugins available in Openfire to extend its functionalities. You can check the list of its features here and plugins here.
First you need to install Sun Java Runtime Environment (JRE).
Set java 1.5 as your default jre
Login to your mysql server
and create the database for your Openfire server
GRANT ALL ON openfire.* TO openfireadmin@localhost IDENTIFIED BY 'admin';
Download the latest version of Openfire from its website and move to /opt directory.
Extract the files and create a symlink of openfire script to /etc/init.d/
ln -s /opt/openfire/bin/openfire /etc/init.d/
Make the symlink executable and add to startup
update-rc.d defaults openfire
Start the Openfire server
Fix the nohup: appending output to `nohup.out' error.
Then open your browser and point to http://localhost:9090 and start the Openfire setup.
The installation will only take a few steps, its easy and straightforward. First thing you need to do is to choose your preferred language. Select what language you will be using and click Continue.
Next is the Server Settings, normally, it will automatically detect your domain settings etc. Double check and replace it if the settings are incorrect, otherwise proceed to the next step.
In the Database Settings just select the Standard Database Connection and click Continue.
Select MySQL in "Database Driver Presets" and change the "Database URL" jdbc:mysql://[host]:3306/[database-name],User, and Password to these values:
jdbc:mysql://localhost:3306/openfire. User: openfireadmin Password: admin
Enter your email address and password.
Well done... The installation is finished.
Login using "username" admin and the password is the one you entered before.
After you login, you can configure and install some plugins to your Openfire server to extend its functionality. You can start using your Openfire server. Have fun...