COBOL Server Install Options (UNIX)

You can use the following command line arguments to install silently on UNIX/Linux. You need to execute the commands as root:

–silent -IacceptEULA

For example, execute:

setup_filename –silent -IacceptEULA

Installing into a different location

To install in a different location use the -installlocation="Location" parameter to specify an alternative directory location. For example:

./setup_cobol_server_9.0_platform -installlocation="full path of new location"
Note: You can use variables when specifying an absolute path for –installlocation. For example, the following examples are equivalent:
-installlocation="/home/myid/installdir"
-installlocation="$HOME/installdir"

You can see details about which additional parameters can be passed to the install script if you enter the -help option.

RPM installation using command line arguments

By default, the RPM install process does not support command-line arguments that can be passed into the installer scripts. RPM only parses its own command line options.

To work around this restriction, you set the environment variable MFCMD. Any values set in this variable are picked up by the install script within the RPM install process.

This is most useful for the Enterprise Server configuration options as you need to pass the following arguments to the RPM process - -ESsysLog, -ESadminID, and -CASrtDir.

To pass these to the RPM installer, set them with the MFCMD="" variable at the start of the RPM install or update command as follows:

MFCMD="-ESsysLog=Y -ESadminID=fred -CASrtDir=/my/location/for/files/" rpm -i RPM_INSTALLER_NAME.rpm

Or, respectively:

MFCMD="-ESsysLog=Y -ESadminID=fred -CASrtDir=/my/location/for/files" rpm -U RPM_INSTALLER_NAME.rpm

Configuring Enterprise Server

You can use the following options to configure the Enterprise Server installation: [ -ESsysLog="Y/N" ] [ -ESadminID="User ID" ] [ -CASrtDir="location" ], where:
-ESsysLog
Use this to enable ("Y") or disable ("N") Enterprise Server system logging. Logging is enabled by default. Log files are saved in /var/mfcobol/logs.
-ESadminID
Sets the Enterprise Server System Administrator Process User ID from the command line - for example, -ESadminID="esadm". The default user ID is the one that runs the installer.
-CASrtDir
Specifies the location were the Enterprise Server run-time system files are placed - for example, -CASrtDir="/home/esuser/casrt/es". The default location is /var/mfcobol/es.