Before starting a standard RPM installation, ensure that all of the prerequisite software is installed on your machine. See Software Requirements for details.
This is not necessary if you are using an RPM administration utility as it installs any missing prerequisite packages at the same time as installing the package from Micro Focus.
The RPM installer for COBOL Server is distributed as a .bin file and is available from your Electronic Delivery Receipt email.
To download and extract the file:
To install COBOL Server:
rpm -i filename.rpfilenamem
This installs the product to the following default location - /opt/microfocus/VisualCOBOL.
Alternatively, you can start the .rpm file from the file manager program available on your operating system:
This installs the product and any missing prerequisites.
To install COBOL Server with the correct Enterprise Server and security configuration settings:
MFCMD="-ESadminID=[UserID] " sudo rpm -i filename.rpm
This installs the product to the following default location, /opt/microfocus/EnterpriseDeveloper, and passes in the ESadminID setting used to configure enterprise server regions, and the Enterprise Server security settings.
Optionally, you can also pass in "-mfconfiglocation=$PWD/config" and/or "-CASrtDir=$PWD/es" to configure where the product preserves any configuration settings, and where it saves the enterprise server regions.
The yum repository must be configured before you start a yum installation. See your yum documentation for instructions. This is not necessary if you have a subscription to an RPM Web site.
To install from a CD or using an ISO image:
vi /etc/yum.repos.d/rhel-dvd.repo
[dvd] name=Red Hat Enterprise Linux Installation DVD baseurl=file:///media/RHEL_6.1_DVD enabled=1 gpgcheck=0
yum install [filename.rpm]
To install using YaST2:
yast2 -i filename.rpm
If there is any missing prerequisite software, YaST prompts for the CD Media that includes the installation files.
To installing using zypper:
zypper repos
The output is similar to the following:
# | Alias | Name | Enabled | Refresh --+--------------+--------------+---------+-------- 1 | SLES12-12-0 | SLES12-12-0 | Yes | No
Where the number 1 repository is the SUSE OS CD Media.
zypper repos 1
zypper install [filename.rpm]
When installing an upgrade or a HotFix release of a Micro Focus product, you must not use the RPM -U upgrade option, as the RPM upgrade process overwrites any existing product configuration.
In order to preserve the existing product configuration, execute the following command with superuser permissions to upgrade the existing installation:
rpm -qa | grep Micro_Focus rpm -e [ PackageName ] rpm -i filename.rpm
This upgrades the existing installation of your product in /opt/microfocus/VisualCOBOL. The built-in product preserve configuration code will restore any product and enterprise server region configuration once the RPM installation is complete.
To install the product into a non-default location, execute the following command with superuser permissions:
rpm -i --prefix=[FullPath] filename.rpm
Where FullPath is the directory on your machine where you want to install the product.
During the installation, the RPM installer creates a log file in /opt/microfocus/logs. The log file contains all of the information that was displayed on the terminal screen during the installation as well as some additional information about the product configuration.