使用命令行在分布式操作系统上安装 Liberty 临时修订
可以使用 IBM® Installation Manager 命令行,利用可用的临时修订来更新产品。
开始之前
有关 WebSphere® Application Server Liberty 更新的信息,请联系 IBM 软件支持中心。可以从 IBM 软件支持中心和 Fix Central 获取最新信息。
IBM Installation Manager 用来将维护包应用于 WebSphere Application Server Liberty。
过程
- 要获取适用于 WebSphere Application Server Liberty 的临时修订和修订包的列表,以及每个修订的具体信息,请执行下列操作。
- 转至 Fix Central。
- 单击查找产品。
- 选择 WebSphere Liberty 作为产品组。
- 选择要更新的产品的版本。
- 选择您的操作系统作为平台,然后单击继续。
- 选择浏览以查找修订,然后单击继续。
- 单击每个修订下方的更多信息以查看有关修订的信息。
- 执行下列其中一个过程以使用临时修订来更新 WebSphere Application Server Liberty。
- 访问内含临时修订的实时服务存储库,并使用基于 Web 的更新。使用本地系统上的 Installation Manager,利用基于 Web 的实时服务存储库中的临时修订,更新 WebSphere Application Server Liberty。
- 对于实时服务存储库,请使用安装期间一般可用产品存储库所使用的那些 URL。WebSphere Application Server 产品的在线产品存储库中列出了这些 URL。
- 这些位置不包含可以使用 Web 浏览器来访问的 Web 页面。它们是您对 Installation Manager 指定的基于 Web 的远程存储库位置,以便 Installation Manager 能维护产品。
要安装来自服务存储库的临时修订,请执行下列操作:- 登录系统。
- 如果尚不具有包含 IBM 软件用户标识和密码的 Installation Manager 凭证存储文件和主密码文件,请创建可让您访问该存储库的文件。注: 这些是您用来访问受保护 IBM 软件 Web 站点的凭证。有关为 Installation Manager 创建凭证存储文件和主密码文件的信息,请参阅 IBM Installation Manager 产品文档。提示: 创建凭证存储文件时,如果 imutilsc 命令找不到指定的 URL,请在存储库 URL 位置的末尾追加 /repository.config。
- 停止要更新的 WebSphere Application Server Liberty 安装版本上的所有服务器和应用程序。
- 切换到 Installation_Manager_binaries/eclipse/tools 目录,其中 Installation_Manager_binaries 是 Installation Manager 的安装根目录。
- 安装临时修订。
./imcl install fix_name -installationDirectory offering_installation_location -repositories repository_URL_or_path -secureStorageFile storage_file -masterPasswordFile master_password_file
imcl.exe install fix_name -installationDirectory offering_installation_location -repositories repository_URL_or_path -secureStorageFile storage_file -masterPasswordFile master_password_file
- 可选:列示所有已安装软件包以验证安装:
./imcl listInstalledPackages -long
imcl.exe listInstalledPackages -long
- 从 Fix Central 下载包含临时修订的文件,并使用本地更新。可以从 Fix Central 下载包含临时修订的压缩文件。每个压缩修订文件都包含临时修订的 Installation Manager 存储库,并且通常具有 .zip 扩展名。下载修订文件之后,可以执行下列其中一个过程来更新 WebSphere Application Server Liberty:
- 使用 Installation Manager,利用临时修订来更新 WebSphere Application Server Liberty。
- 使用 IBM Packaging Utility 来生成新的存储库以包含您所下载的所有修订文件,然后使用 Installation Manager,将所有临时修订作为一组来更新 WebSphere Application Server Liberty。有关使用 Packaging Utility 的信息,请参阅 IBM Installation Manager 产品文档。
- 从 IBM Fix Central 下载临时修订文件。
Installation Manager 的 Liberty 临时修订名为 fix_pack-WS-WLP-IFPInum,例如,16.0.0.2-WS-WLP-IFPI65853。
- 通过执行以下操作安装已下载的修订:
- 登录系统。
- 停止要更新的 WebSphere Application Server Liberty 安装版本上的所有服务器和应用程序。
- 切换到 Installation_Manager_binaries/eclipse/tools 目录,其中 Installation_Manager_binaries 是 Installation Manager 的安装根目录。
- 安装临时修订。
./imcl install fix_name -installationDirectory offering_installation_location -repositories compressed_file
imcl.exe install fix_name -installationDirectory offering_installation_location -repositories compressed_file
- 可选:列示所有已安装软件包以验证安装:
./imcl listInstalledPackages -long
imcl.exe listInstalledPackages -long
- 访问内含临时修订的实时服务存储库,并使用基于 Web 的更新。
父主题:
安装和卸载 Liberty 临时修订



http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twlp_ins_install_fixes_dist_cl
文件名:twlp_ins_install_fixes_dist_cl.html