安装COBOL4.1
root 用户登录
mkdir -p /opt/lib/cobol
cd /opt/lib/cobol
将ocobol.tar 拷入该目录
tar xvf ocobol.tar
./install
屏幕显示:
..........
Unpacking files ...
Please enter the full pathname where the
driver programs are to be installed.
q(uit) or <ATH>; or RETURN for default(/usr/bin): (输入回车)
屏幕显示:
..........
This product is protected using Micro Focus LMF. Would you like
to install this facility now? (y/n) (输入y 回车)
屏幕显示:
Enter the directory name where you wish to install License Manager
(Press Enter for default directory /opt/lib/mflmf)
(输入回车)
屏幕显示:
/opt/lib/mflmf does not exist
do you wish to create it ? (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
cd /opt/lib/mflmf
./mflmcmd
屏幕显示:
Micro Focus License Manager Command Line Interface
--------------------------------------------------
Select the function you require from the list:
License Install - Enter 'I'
(输入 I 回车)
屏幕显示:
Ready to install license
Enter the Serial Number part of the License Key:
(输入ODCGG/A97/621221 回车)
Enter the License Number part of the License Key:
(输入01010 10000 014AB E6A0C 78FD 回车)
屏幕显示:
License added ok
9. ./mflmman
环境配置,加在用户的.profile文件中:
# for COBOL environment variables -- BEGIN
COBDIR=/opt/lib/cobol ; export COBDIR
LD_LIBRARY_PATH=$COBDIR/coblib; export LD_LIBRARY_PATH
PATH=$PATHCOBDIR/bin ; export PATH
# for COBOL environment variables -- END |