Websphere8 AIX静默安装卸载升级

解压was主程序安装包:
[user01:root]:/> gunzip C1G2QML.tar.gz
[user01:root]:/> tar xvf C1G2QML.tar
进入解压后的目录修改安装配置文件:
[user01:root]:/> cd WAS
[user01:root]:/> vi responsefile.nd.txt
  -OPT silentInstallLicenseAcceptance="true"
# -OPT allowNonRootSilentInstall="true"    --如果是非root用户安装,需要此参数
  -OPT installType="installNew"
  -OPT profileType="none"         --不建概要文件,安装完成后再建
  -OPT disableOSPrereqChecking="true"
  -OPT PROF_enableAdminSecurity="false"
# -OPT PROF_adminUserName=
# -OPT PROF_adminPassword=
  -OPT installLocation="/was/WebSphere/AppServer"
--------------------------------------------------------------------------------------------
执行安装命令:
[user01:root]:/> ./install -options ./responsefile.nd.txt -silent
安装was主程序时日志文件:~/waslogs/log.txt
[user01:root]:/> tail -f ~/waslogs/log.txt  查看到有以下内容输出,安装结束
(Jul 15, 2015 2:28:24 PM), Process, com.ibm.ws.install.ni.ismp.mediaspanning.InstallNIFMaintenanceMediaSpanning, msg1, Running configuration command: 97SInstallInvokeWSProfile, percent complete: 100%
(Jul 15, 2015 2:28:28 PM), Process, com.ibm.ws.install.ni.ismp.mediaspanning.InstallNIFMaintenanceMediaSpanning, msg1, Current install/uninstall process is successful. Process type is: install
(Jul 15, 2015 2:28:28 PM), Process, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: install
(Jul 15, 2015 2:28:28 PM), Process, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Jul 15, 2015 2:28:28 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
---------------------------------------------------------------------------------------------
解压安装升级工具包:
[user01:root]:/> gunzip C1G2RML.tar.gz
[user01:root]:/> tar xvf C1G2RML.tar.gz
进入解压后的目录修改安装配置文件:
[user01:root]:/> cd UpdateInstaller
[user01:root]:/> vi responsefile.updiinstaller.txt
  -OPT silentInstallLicenseAcceptance="true"
# -OPT allowNonRootSilentInstall="true"  --如果是非root用户安装,需要此参数
  -OPT disableOSPrereqChecking="true"
  -OPT installLocation="/was/WebSphere/UpdateInstaller"
---------------------------------------------------------------------------------------------
执行安装命令:
[user01:root]:/> ./install -options UpdateInstaller\responsefile.updiinstaller.txt -silent
安装升级工具包时日志文件:/was/WebSphere/UpdateInstaller/logs/install/log.txt
[user01:root]:/> tail -f log.txt  查看安装结果有无异常
----------------------------------------------------------------------------------------------
安装补丁文件:
[user01:root]:/> cd /was/WebSphere/UpdateInstaller/responsefiles
[user01:root]:/> vi install.txt
  -OPT checkFilePermissions="true"
  -W maintenance.package="/opt/was/7.0.0-WS-WASSDK-AixPPC64-FP0000025.pak"  --如果有多个补丁文件,需要多次修改并运行
  -OPT rootUserHasRunSlibcleanCommandSuccessfully="true"   --AIX系统需要此项
  -W product.location="/was/WebSphere/AppServer"
  -W update.type="install"
----------------------------------------------------------------------------------------------
执行安装命令:
[user01:root]:/> ./update.sh -options responsefiles/install.txt -silent
打补丁时日志文件:/was/WebSphere/UpdateInstaller/logs/tmp/updatelog.txt
[user01:root]:/> tail -f updatelog.txt  查看安装结果有无异常
----------------------------------------------------------------------------------------------
卸载was:
卸载之前停止所有与was相关的进程:
[user01:root]:/> cd /was/WebSphere/AppServer/uninstall
[user01:root]:/> ./uninstall -silent   --静默卸载方式
删除websphere安装目录:
[user01:root]:/> rm -rf /was/WebSphere
----------------------------------------------------------------------------------------------
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值