安装WebSphere Application Server

2 WebSphere Application Server

2.1 安装WebSphere Application Server

2.1.1 使用imcl安装WebSphere Application Server

  1. 使用如下命令列出WebSphere Application Server介质包中包含的产品代码

imcl listAvailablePackages -repositories [wasimagepath][,otherimagepath]

示例如下:

imcl listAvailablePackages -repositories /tmp/was/9/base/,/tmp/was/9/jdk

结果输出如下:

com.ibm.websphere.ND.v90_9.0.0.20160526_1854
com.ibm.java.jdk.v8_8.0.3000.20160526_1317
  1. 执行如下命令来安装WebSphere Application Server
#production_id为上条命令查到的产品ID
#production_install_path为需要将产品安装到的目录
#shared_file_path为需要将共享文件安装到的目录
#production_image_path产品介质解压到的目录
imcl install production_id[ production_id] ...\
-installationDirectory [production_install_path] \
-sharedResourcesDirectory [shared_file_path] \
-repositories [production_image_path][,production_image_path] \
-acceptLicense

示例如下:

imcl install com.ibm.websphere.ND.v90_9.0.0.20160526_1854 com.ibm.java.jdk.v8_8.0.3000.20160526_1317  \
-installationDirectory /opt/IBM/WebSphere/AppServer \
-sharedResourcesDirectory /opt/IBM/IMShared \
-repositories /tmp/was/9/base/,/tmp/was/9/jdk \
-acceptLicense

结果输出如下:

Installed com.ibm.websphere.ND.v90_9.0.0.20160526_1854 to the /opt/IBM/WebSphere/AppServer directory.
Installed com.ibm.java.jdk.v8_8.0.3000.20160526_1317 to the /opt/IBM/WebSphere/AppServer directory.
  1. 执行如下命令来验证安装

versionInfo.sh

示例如下:

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

结果输出如下:

WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12

--------------------------------------------------------------------------------
IBM WebSphere Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time March 5, 2019 10:24:17 AM CST

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/IBM/WebSphere/AppServer
Version Directory        /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory            /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory            /var/ibm/InstallationManager/logs

Product List
--------------------------------------------------------------------------------
ND                       installed
JAVA8                    installed

Installed Product
--------------------------------------------------------------------------------
Name                  IBM WebSphere Application Server Network Deployment
Version               9.0.0.0
ID                    ND
Build Level           gm1621.04
Build Date            5/26/16
Package               com.ibm.websphere.ND.v90_9.0.0.20160526_1854
Architecture          x86-64 (64 bit)
Installed Features    WebSphere Application Server traditional
                     EJBDeploy tool for pre-EJB 3.0 modules
                     Embeddable EJB container
                     Stand-alone thin clients and resource adapters

Installed Product
--------------------------------------------------------------------------------
Name            IBM SDK, Java Technology Edition, Version 8
Version         8.0.3.0
ID              JAVA8
Build Level     pxa6480sr3-20160428_01
Build Date      04/28/16
Architecture    x86-64 (64 bit)

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------

至此安装成功

  1. 附录
    在安装时可以使用-properties cic.selector.nl=en,,zh来安装额外的中文语言包支持

猜你喜欢

转载自blog.csdn.net/nikx/article/details/88170956