3.3 Silently Installing Tomcat, PostgreSQL, and ActiveMQ

A silent (non-interactive) installation does not display a user interface or ask the user any questions. Instead, InstallAnywhere uses information from the TomcatPostgreSQL-install-silent.properties file. To run the silent installation, you must edit the file for your environment.

To prepare for the installation, review the considerations and system requirements listed in the following sections:

For a guided installation, see Using the Wizard to Install Tomcat, PostgreSQL, and ActiveMQ.

3.3.1 Safeguarding the Passwords for a Silent Installation

You must specify NETIQ_DB_PASSWORD for the PostgreSQL installation:

export NETIQ_DB_PASSWORD=myPassWord

3.3.2 Installing Tomcat, PostgreSQL, and ActiveMQ Using a Silent Properties File

If the TomcatPostgreSQL-install-silent.properties file resides in a different directory from the installation script, you must specify the full path to the file. The script unpacks the necessary files to a temporary directory and then launches the silent installation.

  1. Log in as root on Linux server or an administrator on Windows server where you want to install the applications.

  2. Navigate to the directory containing the installation files.

  3. To specify the installation parameters, complete the following steps:

    1. Ensure that the silent properties file is located in the same directory as the execution file for installation.

    2. In a text editor, open the silent properties file.

    3. Specify the parameter values. For a description of the parameters, see Step 7 in “Using the Wizard to Install Tomcat, PostgreSQL, and ActiveMQ”.

      NOTE:To use an existing PostgreSQL database for Identity Governance on a Linux server, specify installed for NETIQ_USE_INSTALLED_POSTGRES. The database instance must be run by a supported version of PostgreSQL. Also, you do not need to configure the database.

    4. Save and close the file.

  4. To launch the installation process, enter one of the following commands:

    • Linux: Enter ./TomcatPostgreSQL.bin -i silent -f path_to_silent_properties_file

    • Windows: cmd /c "./TomcatPostgreSQL.exe -i silent -f path_to_silent_properties_file"

    • Windows (PowerShell): ./TomcatPostgreSQL.exe -i silent -f path_to_silent_properties_file"

    NOTE:If the silent properties file is in a different directory from the installation script, you must specify the full path to the file. The script unpacks the necessary files to a temporary directory and then launches the silent installation.