Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'fr'

...

Code Block
cd /home/jtel
cp -r /home/jtel/shared/jtel-system-java-services/deploy/jrest/ jrest
mkdir /home/jtel/jrest/log
chown -R jtel:jtel jrest
cp jrest/init.dsystemd/jrest.service /etc/systemd/init.dsystem
chmod +x /home/etc/init.djtel/jrest/systemd/jrest
chkconfigsystemctl daemon-reload
systemctl enable jrest on.service

Configuration

Edit the configuration file /home/jtel/jrest/config/jtel-jrest.xml and check database access passwords and hosts etc. are correct.

Note: the serverID must be unique for each server.

Warning

<serverID>2001</serverID>


Edit the startup file /home/jtel/jrest/systemd/jrest and check the java directory is correct (the correct java version).

Edit the logging configuration file /home/jtel/jrest/config/log4j2.xml and make sure it points to the required logging directory.

Firewall

Open the firewall port 8091 as follows:

...

Start the service. 

Code Block
servicesystemctl start jrest start.service

Installation - on Windows Server

...