通过 Installation Manager 以静默方式进行安装

可在静默方式下使用 IBM® Installation Manager 以通过无人照管方式安装 Rational® Engineering Lifecycle Manager。为了这样做,必须创建包含安装过程中所需的命令和输入的响应文件。

开始之前

安装 Installation Manager。

过程

  1. 记录响应文件来以静默方式安装 Rational Engineering Lifecycle ManagerLifecycle Query Engine 响应文件是您采用以下格式定义首选项的 XML 文档:
    <preference
    		name = "the key of the preference"
    		value = "the value of the preference to be set">
    </preference>
    有关更多信息,请阅读静默安装首选项键
    1. 在命令行中,切换为 Installation Manager eclipse 子目录。
      • 针对
Windows。cd C:\installation_directory\InstallationManager\eclipse
      • 对于 Linux。cd /InstallationManager/eclipse
    2. 运行命令以记录 Rational Engineering Lifecycle Manager 安装的响应文件 relm_response.xml。该响应文件将在 response_files 目录中创建。 命令将使用 -skipInstall agentDataLocation 参数。此参数记录安装命令而不安装产品。agentDataLocation 必须是新的空目录。请验证您所输入的文件路径是否存在。Installation Manager 不会创建响应文件的目录。有关代理程序数据位置的更多信息,请参阅 Installation Manager 文档。
      • 对于 Windows。IBMIM.exe -record C:\response_files\relm_response.xml -skipInstall C:\skip_install\RELM
      • 对于 Linux。./IBMIM -record /response_files/relm_response.xml -skipInstall /skip_install/RELM
    在 Installation Manager 的“开始”页面上,指定存储库位置。单击文件 > 首选项,然后单击存储库。在“存储库”页面上,将显示可用存储库、其位置及其是否连接。要了解如何添加存储库,请阅读有关指定存储库的信息。
  2. 修改响应文件。
  3. 转至 Installation Manager 的安装目录,然后运行静默安装命令:
    • 对于 Windows。imcl.exe input C:\response_files\relm_response.xml -log C:\InstallLogs\relm_silent_install_log.xml -acceptLicense
    • 对于 Linux。./imcl input /response_files/relm_response.xml -log /InstallLogs/relm_silent_install_log.xml -acceptLicense

反馈