Centos7 LINUX 安装MQ7.5 并升级到MQ7.5.4

[root@ibmtest mq75]# pwd
/set/Mq75/mq75
[root@ibmtest mq75]# ls
copyright MQSeriesFTLogger-7.5.0-2.x86_64.rpm MQSeriesMsg_fr-7.5.0-2.x86_64.rpm MQSeriesRuntime-7.5.0-2.x86_64.rpm
crtmqpkg MQSeriesFTService-7.5.0-2.x86_64.rpm MQSeriesMsg_hu-7.5.0-2.x86_64.rpm MQSeriesSamples-7.5.0-2.x86_64.rpm
lap MQSeriesFTTools-7.5.0-2.x86_64.rpm MQSeriesMsg_it-7.5.0-2.x86_64.rpm MQSeriesSDK-7.5.0-2.x86_64.rpm
licenses MQSeriesGSKit-7.5.0-2.x86_64.rpm MQSeriesMsg_ja-7.5.0-2.x86_64.rpm MQSeriesServer-7.5.0-2.x86_64.rpm
mqlicense.sh MQSeriesJava-7.5.0-2.x86_64.rpm MQSeriesMsg_ko-7.5.0-2.x86_64.rpm MQSeriesXRClients-7.5.0-2.x86_64.rpm
MQSeriesAMS-7.5.0-2.x86_64.rpm MQSeriesJRE-7.5.0-2.x86_64.rpm MQSeriesMsg_pl-7.5.0-2.x86_64.rpm MQSeriesXRService-7.5.0-2.x86_64.rpm
MQSeriesClient-7.5.0-2.x86_64.rpm MQSeriesMan-7.5.0-2.x86_64.rpm MQSeriesMsg_pt-7.5.0-2.x86_64.rpm PreReqs
MQSeriesExplorer-7.5.0-2.x86_64.rpm MQSeriesMsg_cs-7.5.0-2.x86_64.rpm MQSeriesMsg_ru-7.5.0-2.x86_64.rpm READMEs
MQSeriesFTAgent-7.5.0-2.x86_64.rpm MQSeriesMsg_de-7.5.0-2.x86_64.rpm MQSeriesMsg_Zh_CN-7.5.0-2.x86_64.rpm repackage
MQSeriesFTBase-7.5.0-2.x86_64.rpm MQSeriesMsg_es-7.5.0-2.x86_64.rpm MQSeriesMsg_Zh_TW-7.5.0-2.x86_64.rpm WS_MQ_LINUX_ON_X86_64_7.5.0.2_IMG.tar.gz
[root@ibmtest mq75]# ./mqlicense.sh -accept

Licensed Materials – Property of IBM

5724-H72

(C) Copyright IBM Corporation 1994, 2013 All rights reserved.

US Government Users Restricted Rights – Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.

Agreement accepted: Proceed with install.

[root@ibmtest mq75]# yum localinstall *.rpm
已加载插件:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
正在检查 MQSeriesAMS-7.5.0-2.x86_64.rpm: MQSeriesAMS-7.5.0-2.x86_64
MQSeriesAMS-7.5.0-2.x86_64.rpm 将被安装
正在检查 MQSeriesClient-7.5.0-2.x86_64.rpm: MQSeriesClient-7.5.0-2.x86_64
MQSeriesClient-7.5.0-2.x86_64.rpm 将被安装
正在检查 MQSeriesExplorer-7.5.0-2.x86_64.rpm: MQSeriesExplorer-7.5.0-2.x86_64
MQSeriesExplorer-7.5.0-2.x86_64.rpm 将被安装
正在检查 MQSeriesFTAgent-7.5.0-2.x86_64.rpm: MQSeriesFTAgent-7.5.0-2.x86_64
MQSeriesFTAgent-7.5.0-2.x86_64.rpm 将被安装
正在检查 MQSeriesFTBase-7.5.0-2.x86_64.rpm: MQSeriesFTBase-7.5.0-2.x86_64
MQSeriesFTBase-7.5.0-2.x86_64.rpm 将被安装
正在检查 MQSeriesFTLogger-7.5.0-2.x86_64.rpm: MQSeriesFTLogger-7.5.0-2.x86_64
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
—> 软件包 MQSeriesRuntime.x86_64.0.7.5.0-2 将被 安装
—> 软件包 MQSeriesSDK.x86_64.0.7.5.0-2 将被 安装
—> 软件包 MQSeriesSamples.x86_64.0.7.5.0-2 将被 安装
—> 软件包 MQSeriesServer.x86_64.0.7.5.0-2 将被 安装
—> 软件包 MQSeriesXRClients.x86_64.0.7.5.0-2 将被 安装
—> 软件包 MQSeriesXRService.x86_64.0.7.5.0-2 将被 安装
–> 解决依赖关系完成

依赖关系解决

===================================================================================================================================================================
Package 架构 版本 源 大小
===================================================================================================================================================================
正在安装:
MQSeriesAMS x86_64 7.5.0-2 /MQSeriesAMS-7.5.0-2.x86_64 870
MQSeriesClient x86_64 7.5.0-2 /MQSeriesClient-7.5.0-2.x86_64 13 M
MQSeriesExplorer x86_64 7.5.0-2 /MQSeriesExplorer-7.5.0-2.x86_64 158 M
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
MQSeriesXRClients x86_64 7.5.0-2 /MQSeriesXRClients-7.5.0-2.x86_64 19 M
MQSeriesXRService x86_64 7.5.0-2 /MQSeriesXRService-7.5.0-2.x86_64 1.5 M

事务概要
===================================================================================================================================================================
安装 31 软件包

总计:614 M
安装大小:614 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Creating group mqm
Creating user mqm
正在安装 : MQSeriesRuntime-7.5.0-2.x86_64 1/31
正在安装 : MQSeriesJRE-7.5.0-2.x86_64 2/31
正在安装 : MQSeriesJava-7.5.0-2.x86_64 3/31
正在安装 : MQSeriesFTBase-7.5.0-2.x86_64 4/31
正在安装 : MQSeriesServer-7.5.0-2.x86_64 5/31

After the installation has completed, run the ‘/opt/mqm/bin/mqconfig’
command, using the ‘mqm’ user ID.

For example, execute the following statement when running as the ‘root’ user:

su mqm -c “/opt/mqm/bin/mqconfig”

The ‘mqconfig’ command validates that the system configuration satisfies the
requirements for WebSphere MQ, and ensures that the settings for the ‘mqm’
user ID are suitably configured. Other WebSphere MQ administrators in the
‘mqm’ group can run this command to ensure their user limits are also
properly configured to use WebSphere MQ.

If ‘mqconfig’ indicates that any of the requirements have not been met,
consult the installation section within the WebSphere MQ Information Center
for details about how to configure the system and user limits.

正在安装 : MQSeriesFTAgent-7.5.0-2.x86_64 6/31
正在安装 : MQSeriesFTService-7.5.0-2.x86_64 7/31
正在安装 : MQSeriesFTLogger-7.5.0-2.x86_64 8/31
正在。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
验证中 : MQSeriesXRService-7.5.0-2.x86_64 29/31
验证中 : MQSeriesAMS-7.5.0-2.x86_64 30/31
验证中 : MQSeriesFTService-7.5.0-2.x86_64 31/31

已安装:
MQSeriesAMS.x86_64 0:7.5.0-2 MQSeriesClient.x86_64 0:7.5.0-2 MQSeriesExplorer.x86_64 0:7.5.0-2 MQSeriesFTAgent.x86_64 0:7.5.0-2
MQSeriesFTBase.x86_64 0:7.5.0-2 MQSeriesFTLogger.x86_64 0:7.5.0-2 MQSeriesFTService.x86_64 0:7.5.0-2 MQSeriesFTTools.x86_64 0:7.5.0-2
MQSeriesGSKit.x86_64 0:7.5.0-2 MQSeriesJRE.x86_64 0:7.5.0-2 MQSeriesJava.x86_64 0:7.5.0-2 MQSeriesMan.x86_64 0:7.5.0-2
MQSeriesMsg_Zh_CN.x86_64 0:7.5.0-2 MQSeriesMsg_Zh_TW.x86_64 0:7.5.0-2 MQSeriesMsg_cs.x86_64 0:7.5.0-2 MQSeriesMsg_de.x86_64 0:7.5.0-2
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

完毕!
[root@ibmtest mq75]# dspmqver
AMQ8594: WebSphere MQ 命令在 /usr/bin 中不再可用。

为了运行 MQ 命令,必须按照 WebSphere MQ
产品文档中的描述来管理路径配置。尤其应查看有关“选择主安装”的主题。
[root@ibmtest mq75]# /opt/mqm/bin
-bash: /opt/mqm/bin: 是一个目录
[root@ibmtest mq75]# cd /opt/mqm/bin
[root@ibmtest bin]# ls
addmqinf amqrdbgm amqzmur0 dspmqsver fteCreateTransfer fteSetupCommands runmqchl
amqcgskv32 amqrfdm amqzslf0 dspmqtrc fteCreateWebAgent fteSetupCoordination runmqckm
amqcgskv64 amqrmppa amqzxma0 dspmqtrn fteDefine fteShowAgentDetails runmqdlq
amqcrsta amqrrmfa crtmqcvx dspmqver fteDelete fteShowLoggerDetails runmqlsr
amqfcxba amqspdbg crtmqenv endmqbrk fteDeleteAgent fteStartAgent runmqras
amqfqpub amqsstop crtmqinst endmqcsv fteDeleteLogger fteStartLogger runmqsc
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
amqpcsea amqzmuc0 dspmqrte fteCreateMonitor fteSetAgentTraceLevel runmqbrk strmqm
amqrcmla amqzmuf0 dspmqspl fteCreateTemplate fteSetLoggerTraceLevel runmqchi strmqtrc
[root@ibmtest bin]# ./dspmqver
Name: WebSphere MQ
Version: 7.5.0.2
Level: p750-002-130704
BuildType: IKAP – (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 3.10.0-514.el7.x86_64
InstName: Installation1
InstDesc:
Primary: No
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 750
[root@ibmtest bin]# pwd
/opt/mqm/bin

[root@ibmtest mqm]# cd /opt/mqm
[root@ibmtest mqm]# ls
bin doc gskit8 inc instinfo.tsk java lib lib64 licenses man mqexplorer mqft mqxr msg properties READMES samp
[root@ibmtest mqm]# cd samp

[root@ibmtest samp]# cd /set/
[root@ibmtest set]# ls
cics_ctg Mq75
[root@ibmtest set]# cd Mq75/
[root@ibmtest Mq75]# ls
mq75 mq754 mq75client

[root@ibmtest Mq75]# cd mq754
[root@ibmtest mq754]# ls
7.5.0-WS-MQ-LinuxX64-FP0004.tar.gz
[root@ibmtest mq754]# tar zxvf *.tar.gz
./
./MQSeriesAMS-U200491-7.5.0-4.x86_64.rpm
./MQSeriesClient-U200491-7.5.0-4.x86_64.rpm
./MQSeriesExplorer-U200491-7.5.0-4.x86_64.rpm
./MQSeriesFTAgent-U200491-7.5.0-4.x86_64.rpm
./MQSeriesFTBase-U200491-7.5.0-4.x86_64.rpm
./MQSeriesFTLogger-U200491-7.5.0-4.x86_64.rpm
./MQSeriesFTService-U200491-7.5.0-4.x86_64.rpm
./MQSeriesFTTools-U200491-7.5.0-4.x86_64.rpm
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

./repackage/MQSeriesXRClients.spec
./repackage/MQSeriesXRService.spec

[root@ibmtest mq754]#

[root@ibmtest mq754]# yum localinstall *.rpm
已加载插件:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
正在检查 MQSeriesAMS-U200491-7.5.0-4.x86_64.rpm: MQSeriesAMS-U200491-7.5.0-4.x86_64
MQSeriesAMS-U200491-7.5.0-4.x86_64.rpm 将被安装
正在检查 MQSeriesClient-U200491-7.5.0-4.x86_64.rpm: MQSeriesClient-U200491-7.5.0-4.x86_64
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
正在检查 MQSeriesXRClients-U200491-7.5.0-4.x86_64.rpm: MQSeriesXRClients-U200491-7.5.0-4.x86_64
MQSeriesXRClients-U200491-7.5.0-4.x86_64.rpm 将被安装
正在检查 MQSeriesXRService-U200491-7.5.0-4.x86_64.rpm: MQSeriesXRService-U200491-7.5.0-4.x86_64
MQSeriesXRService-U200491-7.5.0-4.x86_64.rpm 将被安装
正在解决依赖关系
–> 正在检查事务
—> 软件包 MQSeriesAMS-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesClient-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesExplorer-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesFTAgent-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesFTBase-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesFTLogger-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesFTService-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesFTTools-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesGSKit-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesJRE-U200491.x86_64.0.7.5.0-4 将被 安装
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
—> 软件包 MQSeriesXRClients-U200491.x86_64.0.7.5.0-4 将被 安装
—> 软件包 MQSeriesXRService-U200491.x86_64.0.7.5.0-4 将被 安装
–> 解决依赖关系完成

依赖关系解决

===================================================================================================================================================================
Package 架构 版本 源 大小
===================================================================================================================================================================
正在安装:
MQSeriesAMS-U200491 x86_64 7.5.0-4 /MQSeriesAMS-U200491-7.5.0-4.x86_64 173
MQSeriesClient-U200491 x86_64 7.5.0-4 /MQSeriesClient-U200491-7.5.0-4.x86_64 13 M
MQSeriesExplorer-U200491 x86_64 7.5.0-4 /MQSeriesExplorer-U200491-7.5.0-4.x86_64 159 M
MQSeriesFTAgent-U200491 x86_64 7.5.0-4 /MQSeriesFTAgent-U200491-7.5.0-4.x86_64 2.8 M
MQSeriesFTBase-U200491 x86_64 7.5.0-4 /MQSeriesFTBase-U200491-7.5.0-4.x86_64 49 M
MQSeriesFTLogger-U200491 x86_64 7.5.0-4 /MQSeriesFTLogger-U200491-7.5.0-4.x86_64 23 M
MQSeriesFTService-U200491 x86_64 7.5.0-4 /MQSeriesFTService-U200491-7.5.0-4.x86_64 45 M
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
MQSeriesXRClients-U200491 x86_64 7.5.0-4 /MQSeriesXRClients-U200491-7.5.0-4.x86_64 19 M
MQSeriesXRService-U200491 x86_64 7.5.0-4 /MQSeriesXRService-U200491-7.5.0-4.x86_64 1.5 M

事务概要
===================================================================================================================================================================
安装 31 软件包

总计:608 M
安装大小:608 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : MQSeriesRuntime-U200491-7.5.0-4.x86_64 1/31
正在安装 : MQSeriesJRE-U200491-7.5.0-4.x86_64 2/31
正在安装 : MQSeriesJava-U200491-7.5.0-4.x86_64 3/31
正在安装 : MQSeriesFTBase-U200491-7.5.0-4.x86_64 4/31
正在安装 : MQSeriesServer-U200491-7.5.0-4.x86_64 5/31

After the installation of this fix pack has completed, run the
‘/opt/mqm/bin/mqconfig’ command, using the ‘mqm’ user ID.

For example, execute the following statement when running as the ‘root’ user:

su mqm -c “/opt/mqm/bin/mqconfig”

The ‘mqconfig’ command validates that the system configuration satisfies the
requirements for WebSphere MQ, and ensures that the settings for the ‘mqm’
user ID are suitably configured. Other WebSphere MQ administrators in the
‘mqm’ group can run this command to ensure their user limits are also
properly configured to use WebSphere MQ.

If ‘mqconfig’ indicates that any of the requirements have not been met,
consult the installation section within the WebSphere MQ Information Center
for details about how to configure the system and user limits.

正在安装 : MQSeriesFTAgent-U200491-7.5.0-4.x86_64 6/31
正在安装 : MQSeriesFTService-U200491-7.5.0-4.x86_64 7/31
正在安装 : MQSeriesAMS-U200491-7.5.0-4.x86_64 8/31
正在安装 : MQSeriesXRService-U200491-7.5.0-4.x86_64 9/31
正在安装 : MQSeriesFTLogger-U200491-7.5.0-4.x86_64 10/31
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
验证中 : MQSeriesFTService-U200491-7.5.0-4.x86_64 29/31
验证中 : MQSeriesMsg_hu-U200491-7.5.0-4.x86_64 30/31
验证中 : MQSeriesMsg_ja-U200491-7.5.0-4.x86_64 31/31

已安装:
MQSeriesAMS-U200491.x86_64 0:7.5.0-4 MQSeriesClient-U200491.x86_64 0:7.5.0-4 MQSeriesExplorer-U200491.x86_64 0:7.5.0-4
MQSeriesFTAgent-U200491.x86_64 0:7.5.0-4 MQSeriesFTBase-U200491.x86_64 0:7.5.0-4 MQSeriesFTLogger-U200491.x86_64 0:7.5.0-4
MQSeriesFTService-U200491.x86_64 0:7.5.0-4 MQSeriesFTTools-U200491.x86_64 0:7.5.0-4 MQSeriesGSKit-U200491.x86_64 0:7.5.0-4
MQSeriesJRE-U200491.x86_64 0:7.5.0-4 MQSeriesJava-U200491.x86_64 0:7.5.0-4 MQSeriesMan-U200491.x86_64 0:7.5.0-4
MQSeriesMsg_Zh_CN-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_Zh_TW-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_cs-U200491.x86_64 0:7.5.0-4
MQSeriesMsg_de-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_es-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_fr-U200491.x86_64 0:7.5.0-4
MQSeriesMsg_hu-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_it-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_ja-U200491.x86_64 0:7.5.0-4
MQSeriesMsg_ko-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_pl-U200491.x86_64 0:7.5.0-4 MQSeriesMsg_pt-U200491.x86_64 0:7.5.0-4
MQSeriesMsg_ru-U200491.x86_64 0:7.5.0-4 MQSeriesRuntime-U200491.x86_64 0:7.5.0-4 MQSeriesSDK-U200491.x86_64 0:7.5.0-4
MQSeriesSamples-U200491.x86_64 0:7.5.0-4 MQSeriesServer-U200491.x86_64 0:7.5.0-4 MQSeriesXRClients-U200491.x86_64 0:7.5.0-4
MQSeriesXRService-U200491.x86_64 0:7.5.0-4

完毕!
[root@ibmtest mq754]# pwd
/set/Mq75/mq754
[root@ibmtest mq754]# cd /opt/mqm
[root@ibmtest mqm]# ls
bin doc gskit8 inc instinfo.tsk java lib lib64 licenses maintenance man mqexplorer mqft mqxr msg properties READMES samp
[root@ibmtest mqm]# cd bin
[root@ibmtest bin]# ./dspmqver
Name: WebSphere MQ
Version: 7.5.0.4
Level: p750-004-140807
BuildType: IKAP – (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 3.10.0-514.el7.x86_64
InstName: Installation1
InstDesc:
Primary: No
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 750
LicenseType: Production

[root@ibmtest bin]# ./mqconfig
mqconfig: Analyzing CentOS Linux release 7.3.1611 (Core) settings for
WebSphere MQ V7.5
mqconfig: The bc program was not found on this system. Please install bc
and try running mqconfig again.
[root@ibmtest bin]# yum search bc
已加载插件:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Determining fastest mirrors
* epel: mirror01.idc.hinet.net
========================================================================= N/S matched: bc =========================================================================
abc-devel.x86_64 : Headers and libraries for developing with ABC
ant-apache-bcel.noarch : Optional apache bcel tasks for ant
apache-commons-dbcp-javadoc.noarch : Javadoc for apache-commons-dbcp
apr-util-odbc.x86_64 : APR utility library ODBC DBD driver
bc.x86_64 : GNU’s bc (a numeric processing language) and dc (a calculator)
bcel-javadoc.noarch : API documentation for bcel
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
sdcc-libc-sources.x86_64 : Small Device C Compiler
uget.x86_64 : Download manager using GTK+ and libcurl

名称和简介匹配 only,使用“search all”试试。
[root@ibmtest bin]# yum install bc.x86_64
已加载插件:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base | 3.6 kB 00:00:00
epel/x86_64/metalink | 5.0 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/5): extras/7/x86_64/primary_db | 166 kB 00:00:00
(2/5): updates/7/x86_64/primary_db | 6.0 MB 00:00:01
(3/5): epel/x86_64/group_gz | 266 kB 00:00:03
epel/x86_64/primary_db FAILED ======================= ] 16 kB/s | 7.3 MB 00:06:42 ETA
http://epel.scopesky.iq/7/x86_64/repodata/db42ded33d7123d2f846e53daab41d68604cb877ca2858af5ec3a7644aea41d8-primary.sqlite.bz2: [Errno 12] Timeout on http://epel.scopesky.iq/7/x86_64/repodata/db42ded33d7123d2f846e53daab41d68604cb877ca2858af5ec3a7644aea41d8-primary.sqlite.bz2: (28, ‘Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds’)
正在尝试其它镜像。
(4/5): epel/x86_64/primary_db | 6.2 MB 00:00:03
(5/5): epel/x86_64/updateinfo | 898 kB 00:00:49
Loading mirror speeds from cached hostfile
* epel: mirror01.idc.hinet.net
正在解决依赖关系
–> 正在检查事务
—> 软件包 bc.x86_64.0.1.06.95-13.el7 将被 安装
–> 解决依赖关系完成

依赖关系解决

===================================================================================================================================================================
Package 架构 版本 源 大小
===================================================================================================================================================================
正在安装:
bc x86_64 1.06.95-13.el7 base 115 k

事务概要
===================================================================================================================================================================
安装 1 软件包

总下载量:115 k
安装大小:215 k
Is this ok [y/d/N]: y
Downloading packages:
bc-1.06.95-13.el7.x86_64.rpm | 115 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : bc-1.06.95-13.el7.x86_64 1/1
验证中 : bc-1.06.95-13.el7.x86_64 1/1

已安装:
bc.x86_64 0:1.06.95-13.el7

完毕!
[root@ibmtest bin]# ./mqconfig
mqconfig: Analyzing CentOS Linux release 7.3.1611 (Core) settings for
WebSphere MQ V7.5

System V Semaphores
semmsl (sem:1) 250 semaphores IBM>=500 FAIL
semmns (sem:2) 251 of 320000 semaphores (0%) IBM>=256000 PASS
semopm (sem:3) 250 operations IBM>=250 PASS
semmni (sem:4) 2 of 1280 sets (0%) IBM>=1024 PASS

System V Shared Memory
shmmax 18446744073692774399 bytes IBM>=268435456 PASS
shmmni 2 of 4096 sets (0%) IBM>=4096 PASS
shmall 18446744073692774399 pages IBM>=2097152 PASS

System Settings
file-max 1120 of 181771 files (0%) IBM>=524288 FAIL
tcp_keepalive_time 7200 seconds IBM<=300 FAIL

Current User Limits (root)
nofile (-Hn) 4096 files IBM>=10240 FAIL
nofile (-Sn) 1024 files IBM>=10240 FAIL
nproc (-Hu) 0 of 7208 processes (0%) IBM>=4096 PASS
nproc (-Su) 0 of 7208 processes (0%) IBM>=4096 PASS
[root@ibmtest bin]# su – mqm
-bash-4.2$ id
uid=993(mqm) gid=1004(mqm) 组=1004(mqm) 环境=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
-bash-4.2$ which crtmqm
/usr/bin/which: no crtmqm in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/ibm/cics/bin:/opt/ibm/java-x86_64-70/bin)
-bash-4.2$ pwd
/var/mqm
-bash-4.2$ ls
config conv errors exits exits64 log mqclient.ini mqft mqs.ini qmgrs service.env shared sockets trace
-bash-4.2$ cd /opt/mqm/bin

-bash-4.2$ ./crtmqm test
WebSphere MQ 队列管理器已创建。
已创建目录“/var/mqm/qmgrs/test”。
队列管理器与安装“Installation1”关联。
正在创建或替换队列管理器“test”的缺省对象。
缺省对象统计:74 个已创建。0 个已替换。0 个已失败。
正在完成设置。
设置完成。
-bash-4.2$ ./strmqm test
WebSphere MQ 队列管理器“test”正在启动。
队列管理器与安装“Installation1”关联。
在日志重放阶段在队列管理器“test”上访问了 5 条日志记录。
完成队列管理器“test”的日志重放。
为队列管理器“test”恢复了事务管理器状态。
使用 V7.5.0.4 启动了 WebSphere MQ 队列管理器“test”。
-bash-4.2$ dspmq
-bash: dspmq: 未找到命令
-bash-4.2$ ./dspmq
QMNAME(test) STATUS(正在运行)
-bash-4.2$ runmqsc test
-bash: runmqsc: 未找到命令
-bash-4.2$ ./runmqsc test
5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
启动队列管理器 test 的 MQSC。

DEFINE QLOCAL(T)
1 : DEFINE QLOCAL(T)
AMQ8006: WebSphere MQ 队列已创建。
END
2 : END
读取一个 MQSC 命令。
所有命令均无语法错误。
已处理所有的有效 MQSC 命令。
-bash-4.2$ PWD
-bash: PWD: 未找到命令

-bash-4.2$ pwd
/opt/mqm/bin
-bash-4.2$ cd ..
-bash-4.2$ ls
bin doc gskit8 inc instinfo.tsk java lib lib64 licenses maintenance man mqexplorer mqft mqxr msg properties READMES samp
-bash-4.2$ cd samp

-bash-4.2$ cd bin
-bash-4.2$ pwd
/opt/mqm/samp/bin

-bash-4.2$ ./amqsput T test
Sample AMQSPUT0 start
target queue is T
Hi Evan this is Heloo Messages!

Sample AMQSPUT0 end
-bash-4.2$ ./amqsget T test
Sample AMQSGET0 start
message <Hi Evan this is Heloo Messages!>

no more messages
Sample AMQSGET0 end
-bash-4.2$
-bash-4.2$
-bash-4.2$ exit
登出

以下文章点击率最高

Loading…

     

如果这文章对你有帮助,请扫左上角微信支付-支付宝,给于打赏,以助博客运营

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注