You can easily upgrade Tigase IoT Framework to the new version following this steps.
For next steps we need to switch working directory to home directory of user tigase
cd /home/tigase
We assume that you have wget
utility installed.
We are going to change working directory to tigase
user home path and download newest version of Tigase IoT Framework:
sudo -u tigase wget http://build.tigase.org/nightlies/dists/latest/tigase-iot-framework.zip
To unpack distribution package and create symlink for easier access we are executing following commands:
sudo -u tigase unzip tigase-iot-framework.zip
sudo -u tigase tigase-iot-framework/etc/config.tdsl tigase-iot-framework-2.0.0-SNAPSHOT-b62/etc/
We assumed that tigase-iot-framework-2.0.0-SNAPSHOT-b62
is name of the directory unpacked from tigase-iot-framework.zip
.
sudo -u tigase rm tigase-iot-framework sudo -u tigase ln -s tigase-iot-framework-2.0.0-SNAPSHOT-b62 tigase-iot-framework
sudo cp -r tigase-iot-framework/etc/default/* /etc/default/ sudo cp -r tigase-iot-framework/etc/systemd/* /etc/systemd/ sudo systemctl daemon-reload