You are here: Reference > Runtime Environment

Runtime Environment

The Express Server runtime environment depends on the presence of certain environment variables. These settings are completed by the installer program.

Windows Environment

The Express Server requires the PATH environment variable to include the Express Server's lib directory. In addition to setting this, the installer also puts the bin directory onto the path in order to be able to run the Express Server's command line tools.

Unix Environment

All Express Server environment variables are defined in the script /opt/LizardTech/ImageServer/etc/env.sh. Before running any of the command line tools, one should source this script in order to set up the correct environment.

For example, the following script is generated at installation time according to the chosen installation options.

$ source /opt/LizardTech/ImageServer/etc/env.sh

It sets the following environment variables:

LT_IS_ROOT

This is the root of the Express Server installation, usually

/opt/LizardTech/ImageServer

LT_IS_USER

This is the username of the Express Server process owner. By default this value is nobody.

LD_LIBRARY_PATH

This lists the directories that contain required shared libraries used by the Express Server. This must contain the following:

/opt/LizardTech/ImageServer/lib

This is the path to Express Server's lib directory.

PATH

This is not used by the Express Server daemon, but it is useful for running the command line tools. It should contain the following:

/opt/LizardTech/ImageServer/bin

This is the path to Express Server's bin directory.