博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
静默安装 apk html,静默安装was
阅读量:5171 次
发布时间:2019-06-13

本文共 4233 字,大约阅读时间需要 14 分钟。

一、静默安装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

转载地址:http://lhhiv.baihongyu.com/

你可能感兴趣的文章
Django Mysql数据库-聚合查询与分组查询
查看>>
Android Studio单元测试入门
查看>>
easyui ---- jEasyUI-定制提示信息面板组件
查看>>
[TypeStyle] Reusable styles using TypeStyle mixins
查看>>
[Poi] Build a Vue App with Poi
查看>>
项目经理在项目各阶段的工作重点-更新版
查看>>
数据库链接池c3p0配置踩坑
查看>>
Java多线程和并发(一),进程与线程的区别
查看>>
使用xftp无法连接阿里云服务器 或者linux
查看>>
js高级(部分)
查看>>
【BZOJ4566】[Haoi2016]找相同字符 后缀数组+单调栈
查看>>
【BZOJ4200】[Noi2015]小园丁与老司机 DP+最小流
查看>>
【BZOJ2959】长跑 LCT+并查集
查看>>
python之MD5加密
查看>>
Elasticsearch-sql 用SQL查询Elasticsearch
查看>>
HTML超连接(a标记)
查看>>
servlet学习笔记_2
查看>>
cf(415 A,B)
查看>>
mysql导出导入数据
查看>>
第一个坑
查看>>