静默安装 apk html,静默安装was

一、静默安装was

用root用户

cd /opt/was/C1G35ML/WAS

[root@yto WAS]$cat responsefile.nd.txt |grep -v '^#'|grep -v '^$'

-OPT silentInstallLicenseAcceptance="false"

-OPT installType="installNew"

-OPT profileType="cell"

-OPT feature="languagepack.console.all"

-OPT feature="languagepack.server.all"

-OPT PROF_enableAdminSecurity="true"

-OPT PROF_adminUserName=

-OPT PROF_adminPassword=

vi responsefile.nd.txt(改之前备份)

-OPT silentInstallLicenseAcceptance="true"

-OPT allowNonRootSilentInstall="true"

-OPT disableOSPrereqChecking="true"

-OPT installType="installNew"

-OPT profileType="none"

-OPT feature="noFeature"

-OPT PROF_enableAdminSecurity="false"

-OPT installLocation="/opt/IBM/WebSphere/AppServer"

保存

安装:

./install -options  "responsefile.nd.txt" -silent

/opt/IBM/WebSphere/AppServer文件夹存在说明安装完成

二、静默安装ihs和plugin

cd /opt/was/C1G36ML/IHS

[root@yto IHS]#cat responsefile.txt |grep -v '^#'|grep -v '^$'

-OPT silentInstallLicenseAcceptance="false"

-OPT allowNonRootSilentInstall=false

-OPT installLocation="/usr/IBM/HTTPServer"

-OPT httpPort="80"

-OPT adminPort="8008"

-OPT createAdminAuth="false"

-OPT adminAuthUser="username"

-OPT adminAuthPassword="password"

-OPT adminAuthPasswordConfirm="password"

-OPT runSetupAdmin="false"

-OPT createAdminUserGroup=true

-OPT setupAdminUser="useridname"

-OPT setupAdminGroup="groupname"

-OPT installHttpService="true"

-OPT installAdminService="true"

-OPT winServiceLogOnAs="localSystem"

-OPT winServiceUser="YOUR_USER_NAME"

-OPT winServicePassword="YOUR_PASSWORD"

-OPT winServiceStartType="automatic"

-OPT installPlugin="true"

-OPT webserverDefinition="webserver1"

-OPT washostname="localhost"

viresponsefile.txt(改之前备份)

-OPT silentInstallLicenseAcceptance="true"

-OPT allowNonRootSilentInstall=true

-OPT disableOSPrereqChecking="true"

-OPT installLocation="/opt/IBM/HTTPServer"

-OPT httpPort="8080"

-OPT adminPort="8008"

-OPT createAdminAuth="true"

-OPT adminAuthUser="wasadmin"

-OPT adminAuthPassword="password"

-OPT adminAuthPasswordConfirm="password"

-OPT runSetupAdmin="true"

-OPT createAdminUserGroup="false"

-OPT setupAdminUser="admin"

-OPT setupAdminGroup="admin"

-OPT installHttpService="true"

-OPT installAdminService="true"

-OPT installPlugin="true"

-OPT webserverDefinition="webserver1"

-OPT washostname="yto.was.test"

保存

安装:

./install -options  "responsefile.txt" -silent

/opt/IBM/HTTPServer 文件夹存在说明安装完成

三、更新

cd /opt/was

tar xzvf 7.0.0.13-WS-UPDI-LinuxAMD64.tar.gz

cd UpdateInstaller

[root@yto UpdateInstaller]#cat responsefile.updiinstaller.txt |grep -v '^#'|grep -v '^$'

-OPT silentInstallLicenseAcceptance="false"

-OPT installLocation="C:\Program Files\IBM\WebSphere\UpdateInstaller"

viresponsefile.updiinstaller.txt(改之前备份)

-OPT silentInstallLicenseAcceptance="true"

-OPT allowNonRootSilentInstall="true"

-OPT disableOSPrereqChecking="true"

-OPT installLocation="/opt/IBM/WebSphere/UpdateInstaller"

-OPT skipStartMenu=true

安装:

./install -options  "responsefile.updiinstaller.txt" -silent

/opt/IBM/WebSphere/UpdateInstaller文件夹存在说明安装完成

/opt/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt

cd /opt/IBM/WebSphere/UpdateInstaller/responsefiles

[root@yto responsefiles]# cat install.txt |grep -v '^#'|grep -v '^$'

-W product.location=""

-W update.type="install"

更新was:

vi install.txt

-OPT checkFilePermissions="false"

-W maintenance.package="/opt/was/7.0.0-WS-WAS-LinuxX64-FP0000013.pak"

-W product.location="/opt/IBM/WebSphere/AppServer"

-W update.type="install"

/opt/IBM/WebSphere/UpdateInstaller/update.sh -options install.txt -silent

/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh

-W maintenance.package="7.0.0-WS-WASSDK-LinuxX64-FP0000013.pak"

更新ihs:

vi install.txt

-OPT checkFilePermissions="false"

-W maintenance.package="/opt/was/7.0.0-WS-IHS-LinuxX64-FP0000013.pak"

-W product.location="/opt/IBM/HTTPServer"

-W update.type="install"

/opt/IBM/WebSphere/UpdateInstaller/update.sh -options install.txt -silent

/opt/IBM/HTTPServer/bin/versionInfo.sh

更新plugin:

vi install.txt

-OPT checkFilePermissions="false"

-W maintenance.package="/opt/was/7.0.0-WS-PLG-LinuxX64-FP0000013.pak"

-W product.location="/opt/IBM/HTTPServer/Plugins"

-W update.type="install"

/opt/IBM/WebSphere/UpdateInstaller/update.sh -options responsefiles/install.txt -silent

/opt/IBM/HTTPServer/Plugins/bin/versionInfo.sh

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值