smitty uninstall
Remove Installed Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* SOFTWARE name [mqm.base.runtime mqm.base.samples mqm.base.sdk mqm.client.rte mqm.java.rte mqm.jre.rte mqm.keyman.> +
PREVIEW only? (remove operation will NOT occur) no +
REMOVE dependent software? no +
EXTEND file systems if space needed? no +
DETAILED output? no +
WPAR Management
Perform Operation in Global Environment yes +
Perform Operation on Detached WPARs no +
Detached WPAR Names [_all_wpars] +
卸载MQ
登陆AIX控制台,并在控制台上执行
# smit remove或者smit deinstall
在SOFTWARE name上,用F4或者Esc+4打开列表
并用F7或者Esc+7多选,选中mqm的部分,就是MQ的安装软件包。
在如下选项中
PREVIEW only? (remove operation will NOT occur) no --选yes是预览并不删除
REMOVE dependent software? no --删除依赖的相关软件
EXTEND file systems if space needed? no
DETAILED output? no
确认不是仅仅是review,REMOVE dependent software一般采用默认值no即可,如果确认需要,可以采用yes来删除依赖的相关软件。
查看MQ的安装情况
# lslpp -l |grep mqm
mqm.base.runtime 7.0.0.1 COMMITTED WebSphere MQ Runtime for
mqm.base.samples 7.0.0.1 COMMITTED WebSphere MQ Samples
mqm.base.sdk 7.0.0.1 COMMITTED WebSphere MQ Base Kit for
mqm.client.rte 7.0.0.1 COMMITTED WebSphere MQ Client for AIX
mqm.java.rte 7.0.0.1 COMMITTED WebSphere MQ Java Client, JMS
mqm.msg.en_US 7.0.0.1 COMMITTED WebSphere MQ Messages - U.S.
mqm.server.rte 7.0.0.1 COMMITTED WebSphere MQ Server
mqm.base.runtime 7.0.0.1 COMMITTED WebSphere MQ Runtime for
mqm.man.en_US.data 7.0.0.1 COMMITTED WebSphere MQ Man Pages - U.S
卸载MQ注意事项:
切记无直接删除相应MQM目录,必须先smitty deinstall