Suganthan Raj
Suganthan Raj

Reputation: 1970

How to get IBM HTTP Server installation directory dynamically in linux, unix and AIX?

` I tried echo ${SERVERROOT} in sh. I execute this script in desktop. It displays empty. How to get installation path dynamically?

Upvotes: 0

Views: 286

Answers (1)

covener
covener

Reputation: 17886

Since there could be multiple installations of multiple releases, to reliably find them you'd need to parse (for 8.0 and later) /var/ibm/InstallationManager/installed.xml

Or, sort this out once and set an environment variable or symlink on the system.

Upvotes: 1

Related Questions