WebSphere V8.5 静默安装升级(一)-独立安装每个安装包
声明:WAS8.5默认安装JDK 1.6.1,WAS8.5.5.9开始支持了JDK 1.8。
【解压介质】
WAS安装包:
WAS_ND_V8.5.5_1_OF_3.zip
WAS_ND_V8.5.5_2_OF_3.zip
WAS_ND_V8.5.5_3_OF_3.zip
#3个zip文件,用以下命令一次性解压缩:
unzip WAS_ND_V8.5.5_\?_OF_3.zip -d WAS_ND_V8.5.5
删除zip文件:
rm -f WAS_ND_V8.5.5_?_OF_3.zip
IHS,Plugin安装包 :
WAS_V8.5.5_SUPPL_1_OF_3.zip
WAS_V8.5.5_SUPPL_2_OF_3.zip
WAS_V8.5.5_SUPPL_3_OF_3.zip
unzip WAS_V8.5.5_SUPPL_\?_OF_3.zip -d WAS_V8.5.5_SUPPL
删除zip文件:
rm -f WAS_V8.5.5_SUPPL_?_OF_3.zip
WAS补丁:
cd /mnt/hgfs/IBM/WAS_8.5.5.11
8.5.5-WS-WAS-FP011-part1.zip
8.5.5-WS-WAS-FP011-part2.zip
8.5.5-WS-WAS-FP011-part3.zip
unzip 8.5.5-WS-WAS-FP011-part\?.zip -d 8.5.5-WS-WAS-FP011
删除zip文件:
rm -f 8.5.5-WS-WAS-FP0000007-part?.zip
IHS、Plugin补丁:
8.5.5-WS-WASSupplements-FP011-part1.zip
8.5.5-WS-WASSupplements-FP011-part1.zip
8.5.5-WS-WASSupplements-FP011-part1.zip
unzip 8.5.5-WS-WASSupplements-FP011-part\?.zip -d 8.5.5-WS-WASSupplements-FP011
删除zip文件:
rm -f 8.5.5-WS-WASSupplements-FP011-part?.zip
Toolbox补丁:
8.5.5-WS-WCT-FP011-part1.zip
8.5.5-WS-WCT-FP011-part2.zip
8.5.5-WS-WCT-FP011-part3.zip
unzip 8.5.5-WS-WCT-FP011-part\?.zip -d 8.5.5-WS-WCT-FP011
删除zip文件:
rm -f 8.5.5-WS-WCT-FP011-part?.zip
WASSDK补丁:
8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779.zip
unzip 8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779.zip -d 8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779
【静默安装IM】:
切换至安装包解压目录:
cd /mnt/hgfs/IBM/pu.offering.disk.linux.gtk.x86_64_1.8.6001.20170428_1224/disk_linux.gtk.x86_64/InstallerImage_linux.gtk.x86_64/
执行静默安装命令:
./userinstc -installationDirectory /opt/IBM/InstallationManager/eclipse -acceptLicense
【静默安装 WAS】:
挂载 WAS仓库文件:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl listAvailablePackages -repositories /mnt/hgfs/IBM/WAS_8.5.5
挂载后会显示以下内容:
com.ibm.websphere.ND.v85_8.5.5000.20130514_1044
执行安装命令:
方式一:以下命令经测试未选择安装中文语言
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl install com.ibm.websphere.ND.v85_8.5.5000.20130514_1044 \
-repositories /mnt/hgfs/IBM/WAS_8.5.5/repository.config \
-installationDirectory /opt/IBM/WebSphere/AppServer \
-sharedResourcesDirectory /opt/IBM/IMShared \
-nl zh \
-acceptLicense \
-showVerboseProgress
方式二:安装过程指定使用中文(-nl zh),WAS添加中文语言包(-properties cic.selector.nl=zh)
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl install com.ibm.websphere.ND.v85_8.5.5000.20130514_1044 \
-repositories /mnt/hgfs/IBM/WAS_8.5.5/repository.config \
-installationDirectory /opt/IBM/WebSphere/AppServer \
-sharedResourcesDirectory /opt/IBM/IMShared \
-nl zh \
-properties cic.selector.nl=zh \
-acceptLicense \
-showVerboseProgress
【卸载WAS】:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl uninstall com.ibm.websphere.ND.v85_8.5.5000.20130514_1044
【静默安装IHS】:
挂载IHS等安装包仓库文件:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl listAvailablePackages -repositories /mnt/hgfs/IBM/IHS_8.5.5
com.ibm.websphere.APPCLIENT.v85_8.5.5000.20130514_1044
com.ibm.websphere.IHS.v85_8.5.5000.20130514_1044
com.ibm.websphere.PLG.v85_8.5.5000.20130514_1044
com.ibm.websphere.PLUGCLIENT.v85_8.5.5000.20130514_1044
com.ibm.websphere.WCT.v85_8.5.5000.20130514_1044
执行安装命令:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl install com.ibm.websphere.IHS.v85_8.5.5000.20130514_1044 \
-repositories /mnt/hgfs/IBM/IHS_8.5.5/repository.config \
-installationDirectory /opt/IBM/HTTPServer \
-nl zh \
-properties "user.ihs.httpPort=8080,user.ihs.allowNonRootSilentInstall=true,cic.selector.nl=zh" \
-acceptLicense \
-showVerboseProgress
【卸载IHS】:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl uninstall com.ibm.websphere.IHS.v85_8.5.5000.20130514_1044
【静默安装IHS_Plugin】:
Plugin安装包仓库文件已经在挂载IHS安装包时挂载,所有执行以下安装命令即可:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl install com.ibm.websphere.PLG.v85_8.5.5000.20130514_1044 \
-repositories /mnt/hgfs/IBM/IHS_8.5.5/repository.config \
-installationDirectory /opt/IBM/WebSphere/Plugins \
-nl zh \
-acceptLicense \
-showVerboseProgress
【静默安装WCT】:
ToolBox安装包仓库文件已经在挂载IHS安装包时挂载,所有执行以下安装命令即可:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl install com.ibm.websphere.WCT.v85_8.5.5000.20130514_1044 \
-repositories /mnt/hgfs/IBM/IHS_8.5.5/repository.config \
-installationDirectory /opt/IBM/WebSphere/Toolbox \
-nl zh \
-acceptLicense \
-showVerboseProgress
安装过程结束。
====================================================================================
【静默安装补丁】:
挂载补丁:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl listAvailablePackages -repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.5-WS-WAS-FP011
./imcl listAvailablePackages -repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.5-WS-WASSupplements-FP011
./imcl listAvailablePackages -repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.5-WS-WCT-FP011
./imcl listAvailablePackages -repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779
【升级WAS补丁】:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.5-WS-WAS-FP011/repository.config \
-installationDirectory /opt/IBM/WebSphere/AppServer \
-nl zh \
-acceptLicense \
-showVerboseProgress
升级WASSDK补丁:
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779/repository.config \
-installationDirectory /opt/IBM/WebSphere/AppServer \
-nl zh \
-acceptLicense \
-showVerboseProgress
【升级IHS补丁】:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.5-WS-WASSupplements-FP011/repository.config \
-installationDirectory /opt/IBM/HTTPServer \
-nl zh \
-acceptLicense \
-showVerboseProgress
升级WASSDK补丁:
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779/repository.config \
-installationDirectory /opt/IBM/HTTPServer \
-nl zh \
-acceptLicense \
-showVerboseProgress
【升级IHS_Plugin补丁】:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.5-WS-WASSupplements-FP011/repository.config \
-installationDirectory /opt/IBM/WebSphere/Plugins \
-nl zh \
-acceptLicense \
-showVerboseProgress
升级WASSDK补丁:
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779/repository.config \
-installationDirectory /opt/IBM/WebSphere/Plugins \
-nl zh \
-acceptLicense \
-showVerboseProgress
【升级ToolBox补丁】:
cd /opt/IBM/InstallationManager/eclipse/tools
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.5-WS-WCT-FP011/repository.config \
-installationDirectory /opt/IBM/WebSphere/Toolbox \
-nl zh \
-acceptLicense \
-showVerboseProgress
升级WASSDK补丁:
./imcl updateAll \
-repositories /mnt/hgfs/IBM/WAS_8.5.5.11/8.5.0.0-WS-WASJavaSDK-LinuxX64-IFPI76779/repository.config \
-installationDirectory /opt/IBM/WebSphere/Toolbox \
-nl zh \
-acceptLicense \
-showVerboseProgress
升级补丁过程结束。
==============================================================================
问题一:登录WAS管理控制台后如何才能显示中文界面
如果没添加中文,添加中文的方式:
1. vnc远程到服务器
2. /opt/IBM/InstallationManager/eclipse/launcher
3. 点击modify
4. 然后选择IBM WebSphere Application Server V8.5,然后下一步 并输入账号密码。
5. 然后选择简体中文 一路下一步即可
参考文档:
另外,附上8.5.5.11的系统需求供您参考:https://www.ibm.com/software/reports/compatibility/clarity-reports/report/html/prereqsForProduct?deliverableId=1337870535828#sw-5