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
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"
-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.
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