Site Tools


linux:ubuntu:xmpp:openfire

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:ubuntu:xmpp:openfire [2016/03/05 02:59] – created lunetikklinux:ubuntu:xmpp:openfire [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 7: Line 7:
 <code>sudo apt-get install openjdk-7-jre</code> <code>sudo apt-get install openjdk-7-jre</code>
  
-Get the newest version from+Get the url for the newest version of Openfire from
  
 <code>http://www.igniterealtime.org/downloads/</code> <code>http://www.igniterealtime.org/downloads/</code>
-and download it with wget +and download Openfire with wget 
 <code>wget http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_4_0_1.tar.gz</code> <code>wget http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_4_0_1.tar.gz</code>
 or download it and move it to the server via scp. or download it and move it to the server via scp.
Line 23: Line 23:
 Open the configfile Open the configfile
 <code>vi /usr/local/openfire/conf/openfire.xml</code> <code>vi /usr/local/openfire/conf/openfire.xml</code>
-remove the comment for network and insert your +remove the comment for network and insert yours
 <code><network> <code><network>
-<interface>server ip here</interface>+<interface>123.45.67.89</interface>
 </network></code> </network></code>
 +Start Openfire
 +<code>/usr/local/openfire/bin/openfire start</code>
 +
 +If you havent install MySQL yet, check that site [[linux:ubuntu:webserver:mysql|MySQL]]\\
 +Otherwise execute the following two commands
 +<code>mysqladmin -u root -p create openfire
 +cat /usr/local/openfire/resources/database/openfire_mysql.sql | mysql -u root -p openfire;</code>
 +
 +===== Webinterface Configuration ====
 +
 +Open the interface in your browser
 +<code>http://123.45.67.89:9090</code>
 +Click through the setup, at Database Settings select Standard Database Connection\\
 +Next screen, select MySQL in the dropdown and insert your hostname (localhost) and database (openfire)
 +<code>jdbc:mysql://localhost:3306/openfire?rewriteBatchedStatements=true</code>
 +insert your info and leave settings default.
 +
linux/ubuntu/xmpp/openfire.1457143188.txt.gz · Last modified: 2017/03/01 12:50 (external edit)