WebSphere9(was9)静默安装

was9安装与was8.5区别在于:was9安装时需要和JDK一起装,不能单独安装;
之前写过was8.5的静默安装博客https://blog.csdn.net/mfanoffice2012/article/details/81605126
否则会报错:

ERROR: The installation package ‘IBM SDK,Java Technology
Edition,Version 8’ requires components supplied by other packages. The
required components might be supplied by the following installation
packages: Package: Any IBM product edition that supports IBM SDK Java
Technology Edition for Installation Manager consult the product
documentation

8.5 与 9主要区别之处:
was8.5:

1
2
3
4
5
6
7
/opt/IMS/eclipse/tools/imcl install \
com.ibm.websphere.ND.v85_8.5.5000.20130514_1044 \ #was程序包小版本,此处注意与was9对比
-repositories /opt/was8.5.5/wassource/repository.config \ #was程序包的安装配置文件,,此处注意与was9对比
-installationDirectory /opt/IBM/WebSphere/AppServer \
-sharedResourcesDirectory /opt/IBM/IMShared \
-properties cic.selector.nl=zh \
-acceptLicense

was9:

1
2
3
4
5
6
7
/opt/IMS/eclipse/tools/imcl install  \
com.ibm.websphere.ND.v90_9.0.0.20160526_1854  com.ibm.java.jdk.v8_8.0.5017.20180628_1143 \
-repositories /home/was/was/pack/repository.config,/home/was/was/java/repository.config \
-installationDirectory /opt/IBM/WebSphere/AppServer \
-sharedResourcesDirectory /opt/IBM/IMShared \
-properties cic.selector.nl=zh \
-acceptLicense

重要!

was9 安装命令中:
install com.ibm.websphere.ND.v90…_1854 com.ibm.java.jdk.v8_8.0…_1143
为功能组件:was程序包和jdk1.8程序包,中间用“空格”隔开

-repositories 后面的两个repository.config 分别是was程序包和jdk1.8程序包的配置文件,中间用“逗号”隔开

其他安装步骤与was8.5相同。