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
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. 然後選擇簡體中文 一路下一步即可