1. Openfire Collaboration
a. # yum -y install java-1.7.0-openjdk libstdc++
b. # wget -O openfire-*.rpm http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire-*.rpm
c. # yum -y localinstall openfire-*.rpm
d. Open firewall
#!/bin/sh
for port in 5222 5223 7070 7443 5269 5275 5276 5262 5263 9090 9091 7777 5229
do
echo -n "Opening port: $port : "
tput setaf 2
firewall-cmd --zone=public --add-port=$port/tcp --permanent
tput sgr0
done
firewall-cmd --reload
e. Access and configure Openfire in browser
1. http://your.im.server:9090/
2. Download Spark collaboration client http://www.igniterealtime.org/downloads/index.jsp
f. Migration
On new server
1. Download and install (above) lastest openfire version
2. # systemctl stop openfire
3. # rm -rf /opt/openfire
On old server
4. Download and update to the latest openfire version, and copy database to new server
5. # systemctl stop openfire
6. # scp -rp /opt/openfire root@ip.of.new.server:/opt
Back on new server
7. # systemctl start openfire
8. # systemctl enable openfire
9. # chmod -R daemon:daemon /opt/openfire (If openfire won't start)