Skip to content
macdiesel edited this page Sep 13, 2010 · 1 revision

This script will help deploy the clustering.jar plugin from a users home directory. I’ve been using this to speed up redeploying the plugin. The script will go through the config files and change the ipaddress to the local ip. (Please note you will need to edit the script and change the ip address to the ip address of the machine you are running the script on.)

#!/bin/bash
rm -Rf ~/openfire/plugins/clustering*
unzip ~/clustering.jar -d ~/openfire/plugins/clustering
cp ~/clustering.jar ~/openfire/plugins/
find ~/openfire/plugins/clustering/ -name *.xml | xargs perl -pi -e ‘s/172.16.11.205/10.30.10.163/g’

Clone this wiki locally