Mount the Share
The system must have access to the share on acd-store.
Checkout jtel-system-java-services Repository
On acd-store execute the following commands to checkout the repository:
su jtel cd /srv/jtel/shared git clone https://bitbucket.org/jtelgmbh/jtel-system-java-services.git
Installation - on Linux Server
To install the PRES role on a Linux server, proceed as follows on the acd-pres server.
Java 17
Install java 17 as follows:
apt-get -y install openjdk-17-jdk
jrest
Install jrest as follows:
cd /home/jtel cp -r /home/jtel/shared/jtel-system-java-services/deploy/jtel-presence-aggregator jtel-presence-aggregator mkdir /home/jtel/jtel-presence-aggregator/log chown -R jtel:jtel jtel-presence-aggregator cp jtel-presence-aggregator/systemd/jtel-presence-aggregator.service /etc/systemd/system chmod +x /home/jtel/jtel-presence-aggregator/systemd/jtel-presence-aggregator systemctl daemon-reload systemctl enable jtel-presence-aggregator.service
Configuration
Edit the configuration file /home/jtel/jtel-presence-aggregator/config/jtel-presence-aggregator.xml and check database access passwords and hosts etc. are correct.
Edit the startup file /home/jtel/jrest/systemd/jtel-presence-aggregator and check the java directory is correct (the correct java version).
Edit the logging configuration file /home/jtel/jtel-presence-aggregator/config/log4j2.xml and make sure it points to the required logging directory.
Start Service
Start the service.
systemctl start jtel-presence-aggregator.service