Open-fire is a powerful instant messaging (IM) and chat server that Implements the XMPP protocols.
Server Installation:
1) Download and make a fresh installed Linux/CentOS latest version for 32/64 bits.
2) Download and install Jre-6u33-linux-i586.bin (jdk is not need just jre):
Get it here (or download from Internet)
http://www.oracle.com/technetork/java/javase/downloads/index.html
download jre-6u33-linux-i586.bin or Download tar.gz file.
Then configure.
chmod +x jre-6u33-linux-i586.bin Or
jre-6u33-linux-i586.bin Extract tar file
mv jre1.6.0_33/opt
3) #mysql - u root -p;
#mysql>CREATE DATABASE openfire;
#mysql>quite;
4) Download and Install openfire - openfire_3_7_1 tar.gz
#tar xvfz openfire_3_7_1 tar.gz
#mv openfire /opt
# cd /opt/openfire/bin
Uncomment and modify the following line at the beginning of "/opt/openfire/bin/openfire" script to override "JAVA_HOME":
INSTALL4J_JAVA_HOME_OVERRIDE=/opt/jre1.6.0_33
Note: This is not need if "echo $JAVA_HOME" point to a valid ORACLE java 1.5 (or later) or OPENJDK installation path.
Openfire does not works with "gcj" which can be installed on Ubuntu, check installed version executing "java-version".
Then just Start it!
./openfire start
5) Next, edit the configuration file /etc/openfire/openfire.xml, and add your linux server's public IP address in the <interface> section, and removing the "<!-->" comment markers that surround this section.
Edit in /etc/openfire/openfire.xml file
<interface>192.168.21.8</interface>
Now restart the Openfire with the following command:
/etc/init.d/openfire restart
Now access to openfire server - http://192.168.21.8:9090
For any query please feel free to contact me by this mail ID - sashwatkatore@gmail.com
Server Installation:
1) Download and make a fresh installed Linux/CentOS latest version for 32/64 bits.
2) Download and install Jre-6u33-linux-i586.bin (jdk is not need just jre):
Get it here (or download from Internet)
http://www.oracle.com/technetork/java/javase/downloads/index.html
download jre-6u33-linux-i586.bin or Download tar.gz file.
Then configure.
chmod +x jre-6u33-linux-i586.bin Or
jre-6u33-linux-i586.bin Extract tar file
mv jre1.6.0_33/opt
3) #mysql - u root -p;
#mysql>CREATE DATABASE openfire;
#mysql>quite;
4) Download and Install openfire - openfire_3_7_1 tar.gz
#tar xvfz openfire_3_7_1 tar.gz
#mv openfire /opt
# cd /opt/openfire/bin
Uncomment and modify the following line at the beginning of "/opt/openfire/bin/openfire" script to override "JAVA_HOME":
INSTALL4J_JAVA_HOME_OVERRIDE=/opt/jre1.6.0_33
Note: This is not need if "echo $JAVA_HOME" point to a valid ORACLE java 1.5 (or later) or OPENJDK installation path.
Openfire does not works with "gcj" which can be installed on Ubuntu, check installed version executing "java-version".
Then just Start it!
./openfire start
5) Next, edit the configuration file /etc/openfire/openfire.xml, and add your linux server's public IP address in the <interface> section, and removing the "<!-->" comment markers that surround this section.
Edit in /etc/openfire/openfire.xml file
<interface>192.168.21.8</interface>
Now restart the Openfire with the following command:
/etc/init.d/openfire restart
Now access to openfire server - http://192.168.21.8:9090
For any query please feel free to contact me by this mail ID - sashwatkatore@gmail.com
No comments:
Post a Comment