Changes

From Amahi Wiki
Jump to: navigation, search
189 bytes removed ,  14:28, 20 February 2011
Install the package with the following command since it is an unsigned package.
{{Code|rpm -ivh openfire-3.6.4-1.i386.rpm}}
Once it is installed start Openfire.
{{Code|service openfire start}}
Go to http://hda:9090 to initiate the setup for openfire.
It is recommended for more basic users to use the embedded database rather than create a connection to MySQL. If you're a more advanced user then follow these instructions for creating the database for openfire. Otherwise skip it.
mysql {{Code|hda-u root create-phda; CREATE DATABASE openfire; CREATE USER 'openfire'@'localhost' IDENTIFIED BY 'openfire'; GRANT ALL PRIVILEGES ON openfire.* TO 'user-and-sb openfire'@'localhost' WITH GRANT OPTION; quit;}}
Now that you've created your database you need to set up the connection.
Driver: com.mysql.jdbc.Driver
Restart the Openfire service a couple of times until you're able to log in to http://hda:9090 with the admin password you set up. To restart the server run the following command.
{{Code|service openfire restart}}
== Restart the setup of openfire ==
If you find you have a broken install or you messed up some settings you can force Openfire to run the setup again. Just edit openfire.xml.
{{Code|gedit /opt/openfire/conf/openfire.xml}}
Change <setup>true</setup> to <setup>'''false'''</setup>. Then restart the Openfire service.
{{Code|service openfire restart}}
And go to http://hda:9090 once again.
12,424

edits