Micro Focus Visual COBOL Development Hub Installation Options

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

Configuring the Enterprise Server installation

You can use the following options to configure the Enterprise Server installation: [ -ESsysLog="Y/N" ] [ -ESadminID="User ID" ] [ -CASrtDir="location" ] [-enablefutex], 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.
-enablefutex
Enables Futex support in CAS at install time. You can use this option with new installation and with upgrades to existing installation. An entry in $COBDIR/etc/cobver, Futex Enabled, indicates that the option has been run during installation.

If a subsequent Patch Update of release 10.0 is installed in the same COBDIR location once Futex is enabled, the installer automatically enables Futex, so the command line option is not required.

Note: On AIX, the automatic enabling of Futex is not supported so you need to use this command line option with each installation.

Installing Silently

You can install Micro Focus products silently by using command line parameters to specify the installation directory, user information, and which features to install. You must execute the command with superuser permissions.

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 using the TMPDIR environment variable

By default, the product installer uses /tmp for temporary files and log files during installation. If /tmp is not available on your system you can set the environment variable TMPDIR to an alternative location:

TMPDIR=/home/user/tmp
Export TMPDIR

Then run the installation as normal.

Note:

The TMPDIR setting is lost when the installer is elevated to root user within the installer. This occurs when you run the installer as a non-root user, and are prompted for the root password during the installation process. Micro Focus recommends that you log in as root, set TMPDIR and then run the installer. If you use sudo to run the installer, then use the following command-line syntax:

sudo TMPDIR=$TMPDIR setup…

or:

sudo TMPDIR=/home/user/tmp setup…