We are given the option to use an external database when setting up Openfire, right after installation. Because we can't go back in time, we'll do the next best thing— re-run the Openfire setup again. We've done this before, in Chapter 5, when we hooked our Openfire installation upto a directory server. No need to flip back to that chapter; I'll retrace the steps here.
To re-run the "initial" setup again, first stop the OpenFire server if it's running. Then open a terminal and navigate to the OpenFire server installation directory. Change to the conf/
directory of the Openfire installation and open the openfire.xml
file in your favorite text editor. Look for a line that reads "<setup>true</setup>"
and change it to <setup>false</setup>
. Save the file, restart the server, and head back to the administration console. Presto! You're back at the setup interface.
But before you run through the setup wizard, you'll have to prepare your...