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.
-
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 theyum install java-<java version>-openjdk-devel
.It's recommended that you use JRE 1.8 and later versions.
-
Download the app from Marketplace: https://marketplace.microfocus.com/appdelivery/content/mercury-tours-application.
-
Extract the downloaded
mtous_installation_linux.zip
package. -
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
-
-
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.
-
Open the
{mtours_installation_linux_package}\mtours_service
file. Set the following parameters to define the jetty start port.-
JETTY_HTTP_PORT
-
-
Open the
{mtours_installation_linux_package}\hsqldb\hsql
file. Set the following parameter to define the hsql start port and address for MToursHsqlDBService.-
HSQL_PORT
-
-
-
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.
-
If you have the application installed in your local machine, enter the following URL:
http://localhost:<port number>
-
If you have the application installed in the server, enter the following URL:
http: <server IP>:<port number>
<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