25.2 Silently Installing Tomcat and PostgreSQL for Identity Manager

A silent (non-interactive) installation does not display a user interface or ask the user any questions. Instead, InstallAnywhere uses information from a default silent.properties file. You can run the silent installation with the default file or edit the file to customize the installation process. For a guided installation, see Section 25.1, Using the Wizard to Install PostgreSQL and Tomcat.

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

25.2.1 Safeguarding the Passwords for a Silent Installation

If you do not want to specify the passwords in the silent.properties file for the installation, you can set the passwords in the environment instead. In this case, the silent installer will read the passwords from the environment, rather than from the silent.properties file. This can provide some additional security.

You must specify the following passwords for the installation:

  • NETIQ_DB_PASSWORD

  • NETIQ_DB_PASSWORD_CONFIRM

Linux

Use the export command. For example:

export NETIQ_DB_PASSWORD_CONFIRM=myPassWord
Windows

Use the set command. For example:

set NETIQ_DB_PASSWORD_CONFIRM=myPassWord

The installation program does not support passwords that include a " for $ character. To use these special characters, change the password after installing PostgreSQL.

25.2.2 Silently Installing Tomcat and PostgreSQL

  1. Log in to the computer where you want to install the applications.

  2. (Conditional) If you have the .iso image file for the Identity Manager installation package, navigate to the directory containing the installation files:

    • Linux: products/RBPM/postgre_tomcat_install

    • Windows: products/RBPM/postgre_tomcat_install

  3. (Conditional) If you downloaded the installation files from the NetIQ Downloads website, complete the following steps:

    1. Navigate to the .tgz or win.zip file for the downloaded image.

    2. Extract the contents of the file to a directory on the local computer.

  4. 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 10.

      NOTE:To use an existing PostgreSQL database for your User Application 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.

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

    • Linux: TomcatPostgreSQL.bin -i silent -f silent.properties

    • Windows: install -i silent -f silent.properties

    NOTE:If the 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.