Wednesday, April 30, 2008

Install COBOL (Micro Focus Server Express 5.0) to Linux 5 (centos)

I found the installation is different from the instructions given in the People Tool installation guide. So I put the screens here.

[root@apps cobol]# sh install

This script will install Micro Focus Server Express 5.0 on this computer.

The readme.txt file included in this delivery contains details of
new features, enhancements and any restrictions of which you should
be aware. This file is located in :

/opt/lib/cobol/docs

We strongly recommend you read this file once the installation
is complete.

Do you want to continue (y/n): y

--------------------------------------------------------------------------------
Before installing and using this software product you must
agree to be bound by the terms and conditions of the end user
license agreement ("License Agreement") which accompanies this product.
Please take this time to read the License Agreement. If you are not in
agreement with the terms and conditions of the License Agreement, please
return the product to your Account Representative and your money will
be refunded. If you require a replacement copy of the License
Agreement, please contact your Account Representative before proceeding
with the install process.

Do you agree to the terms of the License Agreement? (y/n): y

--------------------------------------------------------------------------------
When you press return you will be shown details of the reference
environment (and any compatibility environments).

Please press return when you are ready:

This product is certified on the following reference environment:
The command(s) used to gather the information is given following each entry.

Operating System
----------------
Linux 2.6.9-11.ELsmp x86_64
Red Hat Enterprise Linux AS release 4 (Nahant Update 1)

uname -s
uname -r
uname -m
cat /etc/redhat-release

C Compiler
----------
cc gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)

gcc -v 2>&1 | tail -1

C++ Compiler
------------
/usr/bin/g++ gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)

g++ -v 2>&1 | tail -1

Assembler
---------
as GNU assembler version 2.15.92.0.2 (x86_64-redhat-linux) using BFD version 2.1
5.92.0.2 20040927

as -v 2>&1 < /dev/null

Linker
------
ld GNU ld version 2.15.92.0.2 20040927

ld -V 2>&1 | head -1

Supported versions of Java
--------------------------
Java version = 1.4.2_03
Java vendor = Sun Microsystems Inc.
Java OS name = Linux
Java OS arch = i386
Java OS version = 2.6.9-11.ELsmp

Java version = 1.5.0_06
Java vendor = Sun Microsystems Inc.
Java OS name = Linux
Java OS arch = i386
Java OS version = 2.6.9-11.ELsmp

Java version = 1.5.0_06
Java vendor = Sun Microsystems Inc.
Java OS name = Linux
Java OS arch = amd64
Java OS version = 2.6.9-11.ELsmp

$JAVA_HOME/bin/java -classpath $COBDIR/lib WhatJava

Unicode
-------
Unicode mapping tables must be installed for J2EE and Web Services to
function correctly. These tables are required for converting between
any combination of UTF-16/UCS-2, UTF-8 and other installed locales.

COBOL/J2EE Connectivity
-----------------------
COBOL/J2EE connectivity is supported on this Reference Environment with the
following Application Server products. :-

Jboss 3.2.8
Jboss 4.0.2
Oracle 10.1.2
Oracle 10.1.3
BEA WebLogic 9.0
IBM WebSphere 6.0

See the on-disk readme, $COBDIR/docs/readme.txt, for further information.

--------------------------------------------------------------------------------


This product is also certified on the following environment:


Operating System
----------------
Linux 2.6.9-11.ELsmp i686
Red Hat Enterprise Linux ES release 4 (Nahant Update 1)

uname -s
uname -r
uname -m
cat /etc/redhat-release

C Compiler
----------
cc gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)

gcc -v 2>&1 | tail -1


C++ Compiler
------------
/usr/bin/g++ gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.1)

g++ -v 2>&1 | tail -1


Assembler
---------
as GNU assembler version 2.15.92.0.2 (i386-redhat-linux) using BFD version 2.15.
92.0.2 20040927

as -v 2>&1 < /dev/null


Linker
------
ld GNU ld version 2.15.92.0.2 20040927

ld -V 2>&1 | head -1


This product is also certified on the following environment:


Operating System
----------------
Linux 2.6.18-8.el5xen x86_64
Red Hat Enterprise Linux Server release 5 (Tikanga)

uname -s
uname -r
uname -m
cat /etc/redhat-release

C Compiler
----------
cc gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)

gcc -v 2>&1 | tail -1


C++ Compiler
------------
/usr/bin/g++ gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)

g++ -v 2>&1 | tail -1


Assembler
---------
as GNU assembler version 2.17.50.0.6-2.el5 (x86_64-redhat-linux) using BFD versi
on 2.17.50.0.6-2.el5 20061020

as -v 2>&1 < /dev/null


Linker
------
ld GNU ld version 2.17.50.0.6-2.el5 20061020

ld -V 2>&1 | head -1

Please confirm your understanding of the above reference environment
details (y/n): y

--------------------------------------------------------------------------------
Do you want to make use of COBOL and Java working together? (y/n): n
Skipping Java setup
Should you want to use Java with COBOL later on
as super user run the command /opt/lib/cobol/bin/java_setup
to select the version of Java you want to use.

--------------------------------------------------------------------------------
This product is protected using the Micro Focus License Management
Facility (LMF). Please refer to the Development System Licensing Guide
for information relating to the installation of the licensing system
and licenses.


If you do not have LMF installed or want to upgrade to the latest version,
we recommend you install it now.

Would you like to install LMF now? (y/n): y

Enter the directory name where you wish to install License Manager
(Press Enter for default directory /opt/microfocus/mflmf)

Do you want only superuser to be able to access the License Admin System? (y/n)
y
It is recommended that you let license manager autostart at boot time
Do you want license manager to be automatically started at boot time? (y/n)
y
LMF installation complete


Please consult the Development Licensing Guide for detailed information
on how to install licenses.

This may be done by changing directory to where the LMF was installed,
and typing
./mflicense


--------------------------------------------------------------------------------
To run your applications you need a deployment license installed using Apptrack.
See your Deployment Licensing Guide for details.
Installing Apptrack...

Access permissions on directory /var/mfaslmf have changed on this release
Write access permission has been removed except for superuser use
Apptrack installation complete


--------------------------------------------------------------------------------
This product can be used in either 32-bit or 64-bit modes.
Please enter either 32 or 64 to set the system default mode: 32
System default COBMODE has been set to 32.

--------------------------------------------------------------------------------
Installing documentation. Please wait...

--------------------------------------------------------------------------------
Enterprise Server provides a scalable, managed and high-performance
transactional environment for the deployment of COBOL applications
and services, COBOL/J2EE applications and direct COBOL Web Services.

Your Enterprise Server requires configuration. You can either do it now
or later. To do it now you need to know the alphanumeric user ID of the
Enterprise Server System Administrator.
To do it later, enter the following commands whilst logged in as root :
/opt/lib/cobol/bin/casperm
/opt/lib/cobol/bin/eslminstall

Do you wish to configure Enterprise Server now? (y/n): y

The use of Enterprise Server requires the Enterprise Server License Manager
to be running.

Do you want the Enterprise Server License Manager to be automatically
started at boot time? (y/n): y
Before continuing this installation, please ensure that you have the
alphanumeric user ID of the Enterprise Server System Administrator to hand.
You can find more information in the Configuration and Administration Guide.

Press 'q' to quit or return to continue:


The responses to the following questions will be used to help construct your
global transaction system configuration file (cas.cfg) - see your Configuration
and Administration Guide for more information.

Do you want error/warning messages to be displayed via the
syslog daemon? (y/n): y

Enter the alphanumeric user ID of the Enterprise Server System
Administrator.: root

Enter the directory where you want the Enterprise Server run-time system files
to reside. Please enter the absolute path. Do not use
environment variables. Press return to use /var/mfcobol/es


Setting file permissions. Please wait...
Processing -f option...

Enterprise Server configuration complete


--------------------------------------------------------------------------------
XDB is a fully-functional ANSI-compliant relational database
management system, providing support for SQL data access for
development purposes.

Do you want to install XDB? (y/n): y

Enter the directory where you want to install XDB.
Please enter the absolute path. Press return to use
/opt/microfocus/xdb

Installing XDB in directory /opt/microfocus/xdb...



Do you want to only install XDB client-side software (i.e. to work with an
existing XDB server installation)?n



Please enter the configuration directory (this should either not exist,
or be empty).
Press return for the default (/opt/microfocus/xdb/cfg) :
Please enter the configuration directory (this should either not exist,
or be empty).
Press return for the default (/opt/microfocus/xdb/cfg) :
Please enter the configuration directory (this should either not exist,
or be empty).
Press return for the default (/opt/microfocus/xdb/cfg) :
Please enter the configuration directory (this should either not exist,
or be empty).
Press return for the default (/opt/microfocus/xdb/cfg) :



Please enter the directory to store the XDB locations (this should either not
exist, or be empty).
Press return for the default (/opt/microfocus/xdb/locations) :



Please enter a unique name for the server.
Press return for the default of XDBSERVE:



Please enter the port number that the server should listen on.
Press return for the default of 8898:
Please enter the alphanumeric user ID under which all XDB processes
are to be executed: psoft

Your xdb server has been successfully configured. Please run either the
.xdbshrc or .xdbcshrc files created in directory:
/opt/microfocus/xdb/cfg
to set up the xdb environment. These scripts set up environment variables
and your path to enable you to use this server.

.xdbshrc is for Bourne type shell users (sh, bash, ksh, etc.)
use ". /opt/microfocus/xdb/cfg/.xdbshrc"

.xdbcshrc is for C type shell users (csh, tcsh, etc.)
use "source /opt/microfocus/xdb/cfg/.xdbcshrc"

The first time you start your server with the "xdbserve &" command, an
xdb system location will be created. The ampersand at the end of the
command is used to start the server as a background process. The
following messages will appear after the server is started:

Listening on port 8898.
Creating SYSTEM location, please wait...
SYSTEM location created.

Once the system location has been created, you will be able to use the
"xdbsql" command to log into the xdb server. Please create a new
location to store your tables in; the system location is used for
tracking the other locations the server manages. Please review the
README.locations file for more information.

To shut down the server, use the "xdbmon" command. The F10 key will
shut down the server from the "xdbmon" main menu. The zero key will
also function as the F10 key if you do not have your function keys
properly configured.

A batch script has been provided to create a tutorial location. It can
be invoked with the xdbsql command as follows:

xdbsql --batch /opt/microfocus/xdb/share/mktutorial.sql

You will be prompted to enter a directory create the tutorial location in.
The subdirectory "tutorial" will be appended to the path that you enter.


XDB installation complete.

--------------------------------------------------------------------------------
(remember to set COBDIR to /opt/lib/cobol,
include /opt/lib/cobol/lib in LD_LIBRARY_PATH
and include /opt/lib/cobol/bin on your PATH)


WARNING: Any executables (whether a Run-Time System or an application)
must be relinked using this new release. Otherwise, the results of
running the older executables with this new release are undefined.

Installation completed successfully.

The COBOL system is ready to use.
[root@apps cobol]#

No comments: