使用命令行安装产品供应项目
可以使用 Installation Manager imcl install 命令来安装任何产品供应项目。
准备工作
准备要安装产品的系统,如 准备操作系统以进行产品安装中所述。
安装 IBM Installation Manager 并验证您是否可以访问产品存储库。 请参阅 安装 Installation Manager 和 在 Installation Manager中配置产品存储库。
需要 IBM Installation Manager V 1.8.5 或更高版本才能安装产品。
重要信息: 在安装产品之前,必须先阅读可通过产品文件找到的许可协议。 相关的条款和条件、声明和其他信息在产品安装映像或存储库的 lafiles 或 product_name/lafiles 子目录中的许可协议文件中提供。 通过在命令中指定
-acceptLicense,表明您接受该许可协议。
有关此任务
- 所有 WebSphere Application Server 版本
- Application Client for WebSphere Application Server
- IBM HTTP Server
- Web Server Plug-ins
- WebSphere Customization Toolbox
有关产品的完整列表,请参阅 针对受支持操作系统的WebSphere Application Server 产品。
对于转换用户: IBM SDK Java™ Technology Edition V 8 是 WebSphere Application Server V 9.0的 Java SDK 版本。 IBM SDK Java Technology Edition 不再与任何 WebSphere Application Server 产品一起嵌入。 Java SDK 作为单独的产品提供,在安装产品时必须安装该产品。
有关使用 imcl 命令的信息,请参阅 IBM Installation Manager 文档。
过程
示例
以下示例说明如何在 Windows 操作系统上安装最新版本的 WebSphere Application Server :
imcl install com.ibm.websphere.BASE.v90 com.ibm.java.jdk.8
-installationDirectory "C:\Program Files\IBM\WebSphere\AppServer"
-sharedResourcesDirectory "C:\Program Files\IBM\IMShared"
-repositories C:\IBM\REP\WSAS9ENT
-acceptLicense
-showProgress
-log installv9.xml
-preferences com.ibm.cic.common.core.preferences.keepFetchedFiles=false,com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts=false
以下示例说明如何在 IBM i 操作系统上安装最新版本的 WebSphere Application Server:
./imcl install com.ibm.websphere.BASE.v90
-repositories https://downloads.mycorp.com:8080/WAS_90_repository
-installationDirectory /QIBM/ProdData/WebSphere/AppServer/V9/BASE
-properties was.install.os400.profile.location=/QIBM/UserData/WebSphere/AppServer/V9/BASE
-sharedResourcesDirectory /QIBM/UserData/InstallationManager/IMShared
-secureStorageFile $HOME/WASFiles/temp/credential.store
-acceptLicense
下一步做什么?
安装完成后,程序可能会将重要的安装后指示信息写至标准输出。