Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Excerpt

Variable

Description

MZ_HOME

Example value: /opt/mz

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

Note

Note!

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

Note

Note!

You should use an absolute path instead of a symlink for the MZ_HOME directory to avoid any issue during installation or upgrade.

JAVA_HOME

Example value: /opt/jdk/jdk-17.0.2

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

Code Block
/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.

Info

Example - Setting Environment Variables

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

Oracle Specific Environment Variables

These environment variables only apply when using an Oracle database. The variables below are set on the machine where Oracle is installed.

...

Variable

...

Description

...

ORACLE_HOME

...

Example value: /opt/oracle/product/12

This environment variable specifies where Oracle is installed.

...

ORACLE_SID

Example value: MZ

...

Note

Note!

...

...

ORACLE_DATA

...

Example value: /opt/oracle/databases/<data_directory>

The directory where the database will be stored. This directory must exist prior to installation.

Note

Note!

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

$ORACLE_HOME/network/admin/listener.ora

For further information, seeĀ see Appendix A - Oracle Home Settings.

Note

Note!

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