This readme provides information about how to install the Mercury Tours application in Linux systems.

Install

Follow the steps below to install the application. You can install it in your local machine or the server.

  1. Prerequisite: Prepare JRE environment.

    Download Java. Install java run environment by running the yum install java-<java version>-openjdk command. Install development environment by running the yum install java-<java version>-openjdk-devel.

    It's recommended that you use JRE 1.8 and later versions.

  2. Download the app from Marketplace: https://marketplace.microfocus.com/appdelivery/content/mercury-tours-application.

  3. Extract the downloaded mtous_installation_linux.zip package.

  4. Run the chmod +x command to grant executable authority to the following script files:

    • {mtours_installation_linux_package}\mtours_service

    • {mtours_installation_linux_package}\hsqldb\hsql

  5. Configure the application port number.

    Make sure the port numbers you defined for the following parameters are not occupied by other installed applications.

    If you don't set these port numbers, the default port number 8080 will be assigned to them. If 8080 is detected to be occupied by other applications, the installation will fail. You should set other port numbers for them.

    1. Open the {mtours_installation_linux_package}\mtours_service file. Set the following parameters to define the jetty start port.

      • JETTY_HTTP_PORT

    2. Open the {mtours_installation_linux_package}\hsqldb\hsql file. Set the following parameter to define the hsql start port and address for MToursHsqlDBService.

      1. HSQL_PORT

  6. Open your Command Prompt dialogue and run the following command as root user:

    {mtours_installation_linux_package} ./mtours_service install

Open Mercury Tours web site

After successfully installing the Mercury Tours application in your local machine or the server, you can open the Mercury Tours web site in your browser.

<server IP> is the IP address of the server where the application has been installed.

<port number> is the port number you set in Configure the application port number..

Uninstall

To uninstall the application, 0pen your Command Prompt dialogue and run the following command:

{mtours_installation_linux_package} ./mtours_service uninstall