Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the Windows installer
  2. Windows users run the windows installer, once it completes the configuration file should be displayed for editing.  If not edit C:\Program Files\NVCLDataServices\application.properties
  3. Copy the values for the properties from your saved jdbc and config.properties files or follow the instructions within the file
  4. Start the NVCLDataServices from windows services

Linux Users

  1. Download the universal WAR
  2. Make a folder named NVCLDataServices and save the WAR file into it
  3. Download the template configuration file and save it in the NVCLDataServices folder
  4. Create a user to run the service e.g.

    Code Block
    languagetext
    sudo useradd -r nvcldsuser


  5. Change ownership of the NVCLDataServices folder and its contents to the user created above e.g.

    Code Block
    languagetext
    sudo chown -R nvcldsuser:nvcldsuser NVCLDataServices


  6. If you system supports systemd create a file name NVCLDataServices.service in the /etc/systemd/system/ folder with the following content (NOTE: you will likely need to modify ExecStart path):

    Code Block
    languagetext
    [Unit]
    Description=NVCL Data Services package
    After=syslog.target
    
    [Service]
    User=nvcldsuser
    ExecStart=/var/NVCLDataServices/NVCLDataServices-2.1.0.war
    SuccessExitStatus=143
    
    [Install]
    WantedBy=multi-user.target


  7. To make the NVCLDataServices start automatically run:

    Code Block
    languagetext
    sudo systemctl enable NVCLDataServices.service


  8. Edit NVCLDataServices\application.properties
  9. Copy the values for the properties from your saved jdbc and config.properties files or follow the instructions within the file
  10. NOTE: if you're running tomcat on port 8080 you will need to change the port the NVCLDataServices run on (something in the 808x range is recommended)
  11. Create a script file called runtsg.sh to run tsg with the following content:

    Code Block
    languagetext
    #!/bin/bash
    xvfb-run -a wine tsgeol8.exe $1
    exit


  12. Start the NVCLDataServices with systemctl:

    Code Block
    languagetext
    sudo systemctl start NVCLDataServices.service


...