Changes

From Amahi Wiki
Jump to: navigation, search
3 bytes removed ,  02:28, 23 June 2020
{{MessageBox|backgroundcolor = #faa|image =Warning.png|heading =WARNING|message = This is recommended only for intermediate to advanced users of Linux an , proceed with caution.}} [http://www.amahi.org/apps/openfire Openfire] has been packaged for Amahi.
= What is Openfire? =
[http://www.igniterealtime.org/projects/openfire/ Openfire] is an XMPP protocol chat server. You can use it for secure communication with family and friends. The protocol can run over SSL and does by default.
You can also use it as an IM gateway via the [http://kraken.blathersource.org/ kraken] plugin. That means you register you your different users (AIM, Yahoo, GTalk, MSN, etc.) and all of your buddies show up in the same list just by you logging into your chat server. Why would you want to do that? Because when you connect to a wifi hotspot and log into instant messaging such as AIM, your password gets sent as clear text and anyone sniffing on the network will be able to see it. Using your Openfire connection will be encrypted with SSL so even though you're logging in on a wifi hotspot your password won't be easily obtained. The connect is unencrypted, however, from Openfire to the AIM servers because that is the nature of the protocol. That is the case with most of the chat protocols.
= How to install Openfire =
Install the package with the following command since it is an unsigned package.
rpm -ivh openfire-3.6.4-1.i386.rpm
Once it is installed start Openfire.
service openfire start To initiate the setup for openfire, go to: <nowiki>http://hda:9090</nowiki> 
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 hda-u root create-phda; CREATE DATABASE openfire; CREATE USER 'openfire'@'localhost' IDENTIFIED BY 'openfire'; GRANT ALL PRIVILEGES ON openfire.* TO 'db-and-user openfire'@'localhost' WITH GRANT OPTION; quit;
Now that you've created your database you need to set up the connection.
'''Note: You will not be able to log into the Openfire through the web logon until after you restart the Openfire service. There is a bug in the Openfire setup.'''
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. : <nowiki>http://hda:9090</nowiki> To restart the server run the following command. 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.
gedit /opt/openfire/conf/openfire.xml
Change <setup>true</setup> to <setup>'''false'''</setup>. Then restart the Openfire service.
service openfire restart And go to: <nowiki>http://hda:9090</nowiki>
And go to http[[Category://hda:9090 once again.Apps]]
12,424

edits