...
| 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/init.dsystemd/system chmod +x /etc/init.d/jrest chkconfig jrest onhome/jtel/jrest/systemd/jrest systemctl daemon-reload systemctl enable jrest.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 /etc/init.dfile /home/jtel/jrest/systemd/jrest and check the java directory is correct (the correct java version).
...
Start the service.
| Code Block |
|---|
servicesystemctl start jrest start.service |
Installation - on Windows Server
...