Setting Environment Variables for Platform

Setting Environment Variables for Platform

Add the following environment variables into a login script for the user mzadmin, ensuring the variables are always used. The example values will be used later on in the installation parameters file install.xml.

Variable

Description

MZ_HOME

Example value: /opt/mz

This environment variable specifies where the MediationZone software is to be installed.

Note!

The directory must exist and be empty prior to the installation.

JAVA_HOME

Example value: /opt/jdk/jdk-17.0.2

This environment variable specifies where the JDK is installed. For example:

/opt/jdk-<interim.update.patch>

PATH

The search path must contain the following directories: $JAVA_HOME/bin:$MZ_HOME/bin

This environment variable specifies the search path.

Example - Setting Environment Variables

export MZ_HOME=/opt/mz export JAVA_HOME=/opt/jdk/jdk-17.0.2 export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH

Note!

In order for MediationZone to function properly, the following Oracle file needs configuration:

$ORACLE_HOME/network/admin/listener.ora

See https://infozone.atlassian.net/wiki/spaces/MD93/pages/204670130 for more information.

Note!

The installation script only supports using Oracle SID. It does not support using the Oracle service name.