使用命令行在分布式操作系统上安装 Liberty 临时修订
可以使用 IBM® Installation Manager 命令行,利用适用于 WebSphere® Application Server Liberty Core 服务级别的临时修订来更新产品。
开始之前
有关 WebSphere Application Server Liberty Core 更新的信息,请联系 IBM 软件支持中心。可以从 IBM 软件支持中心和 Fix Central 获取最新信息。
IBM Installation Manager 用来将维护包应用到 WebSphere Application Server Liberty Core。
过程
- 要获取适用于 WebSphere Application Server Liberty Core 的临时修订和修订包的列表,以及每个修订的特定信息,请执行下列操作。
- 转至 Fix Central。
- 选择 WebSphere 作为产品组。
- 选择 WebSphere Application Server Liberty Core 作为产品。
- 选择要更新的产品版本。
- 选择您的操作系统作为平台,然后单击继续。
- 选择浏览以查找修订,然后单击继续。
- 单击每个修订下方的更多信息以查看有关修订的信息。
- 建议:为您想要安装的所有修订创建一个名称列表。
- 执行下列其中一个过程以使用临时修订来更新 WebSphere Application Server Liberty Core。
- 访问内含临时修订的实时服务存储库,并使用基于 Web 的更新。使用本地系统上的 Installation Manager,利用基于 Web 的实时服务存储库中的临时修订,更新 WebSphere Application Server Liberty Core。
- 对于实时服务存储库,请使用安装期间一般可用产品存储库所使用的那些 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 Core 安装上的所有服务器和应用程序。
- 切换到 Installation_Manager_binaries/eclipse/tools 目录,其中 Installation_Manager_binaries 是 Installation Manager 的安装根目录。
- 安装临时修订。
./imcl install fix_name -installationDirectory offering_installation_location -repositories repository_URL -secureStorageFile storage_file -masterPasswordFile master_password_file
imcl.exe install fix_name -installationDirectory offering_installation_location -repositories repository_URL -secureStorageFile storage_file -masterPasswordFile master_password_file
注: 使用 Installation Manager V1.6.2 和更高版本时,您应该使用 -secureStorageFile 和 -masterPasswordFile 选项将凭证存储在凭证存储文件中。对于版本低于 V1.6.2 的 Installation Manager,使用 -keyring 和 -password 选项来访问密钥环文件中的凭证。V1.6.2 中不推荐使用这些选项。不存在从密钥环文件到存储文件的迁移路径,这是因为,这些文件的结构存在差异。有关使用 -secureStorageFile 和 -masterPasswordFile 选项将凭证存储在凭证存储文件中的更多信息,请参阅 Installation Manager V1.6 信息中心。有关使用 -keyring 和 -password 选项将凭证存储在密钥环文件中的更多信息,请参阅 Installation Manager V1.5 信息中心。 - 可选:列示所有已安装软件包以验证安装:
./imcl listInstalledPackages -long
imcl.exe listInstalledPackages -long
- 从 Fix Central 下载包含临时修订的文件,并使用本地更新。可以从 Fix Central 下载包含临时修订的压缩文件。每个压缩修订文件都包含临时修订的 Installation Manager 存储库,并且通常具有 .zip 扩展名。下载修订文件之后,可以执行下列其中一个过程来更新 WebSphere Application Server Liberty Core:
- 使用 Installation Manager,利用临时修订来更新 WebSphere Application Server Liberty Core。
- 使用 IBM Packaging Utility 来生成新的存储库以包含您所下载的所有修订文件,然后使用 Installation Manager,将所有临时修订作为一组来更新 WebSphere Application Server Liberty Core。有关如何使用 Packaging Utility 的信息,请参阅 IBM Installation Manager 信息中心。
- 要下载临时修订,请执行下列操作:
- 转至 Fix Central。
- 选择 WebSphere 作为产品组。
- 选择 WebSphere Application Server Liberty Core 作为产品。
- 选择要更新的产品版本。
- 选择您的操作系统作为平台,然后单击继续。
- 选择浏览以查找修订,然后单击继续。
- 选择要下载的临时修订,然后单击继续。
- 选择下载选项,然后单击继续。
- 单击我同意以同意条款和条件。
- 单击立即下载以下载临时修订。
- 要从所下载的压缩文件安装临时修订,请执行下列操作:
- 登录系统。
- 停止要进行更新的 WebSphere Application Server Liberty Core 安装上的所有服务器和应用程序。
- 切换到 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 的更新。

信息中心的条款和条件 | 反馈

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