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; file install.xml
.
Excerpt |
---|
Variable | Description |
---|
MZ_HOME | Example value: /opt/mz This environment variable specifies where the Image Added software is to be installed. Note |
---|
| The directory must exist and be empty prior to the installation. |
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: /Libraryopt/Javajdk/JavaVirtualMachines/jdk-17.0.2 .jdk/Contents/Home This environment variable specifies where the JDK is installed. According to Oracle documentation, the JDK Installation path isFor example: Code Block |
---|
/Library/Java/JavaVirtualMachines/jdk-<interim.update.patch>.jdk/Contents/Home |
In case of Linux, it is recommended to use an opt path: Code Block |
---|
/opt/jdk-<interim.update.patch>.jdk |
| PATH | The search path must contain the following directories: $JAVA_HOME/bin:$MZ_HOME/bin This environment variable specifies the search path. |
Info |
---|
title | Example - Setting Environment Variables |
---|
|
Code Block |
---|
| $ export MZ_HOME=/opt/mz
$ export JAVA_HOME=/opt/jdk/jdk-17.0.2
$ export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH |
|
|
...
Variable | Description |
---|
ORACLE_HOME | Example value: /opt/oracle/product/12 This environment variable specifies where Oracle is installed. |
ORACLE_SID | Example value: MZ This environment variable specifies the Oracle SID to be used by the system. Note |
---|
| The Oracle SID name can not cannot be longer than 8 characters. |
|
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 |
---|
|
In order for to for Image Added to function properly, the following Oracle file needs configuration: $ORACLE_HOME/network/admin/listener.ora
For further information, see Appendix A - Oracle Home Settings. |
Note |
---|
|
Installation The installation script only supports using Oracle SID. It does not support using the Oracle service name. |