使用响应文件在分布式操作系统上安装 Web 2.0 and Mobile Toolkit

可以使用 Installation Manager 来通过响应文件安装 Web 2.0 and Mobile Toolkit。

开始之前

在要安装 Web 2.0 and Mobile Toolkit 的每个系统上,执行以下操作:
  1. 安装 IBM® Installation Manager V1.5.2 或更高版本。
  2. 使用 Installation Manager 来连接到包含最新 Installation Manager 文件的存储库并更新 Installation Manager。
  3. 获取对必需的 Web 2.0 and Mobile Toolkit 文件的访问权。
    安装 Web 2.0 and Mobile Toolkit 有三个基本选项。
    • 访问物理介质,并使用本地安装

      可以访问产品介质上的存储库。使用 Installation Manager 以从介质上的产品存储库安装 Web 2.0 and Mobile Toolkit。

    • 从 Passport Advantage® 站点下载文件,并使用本地安装
      具有 Passport Advantage 标识和密码并获得许可授权的客户可以从 Passport Advantage 站点下载必需的存储库。
      1. 从 Passport Advantage 站点下载存储库。
      2. 使用 Installation Manager 以从下载的存储库安装 Web 2.0 and Mobile Toolkit。
    • 访问活动存储库,并使用基于 Web 的安装
      如果您具有 Passport Advantage 标识和密码,那么可以使用 Installation Manager 以从基于 Web 的存储库安装 Web 2.0 and Mobile Toolkit。使用 Installation Manager 以从位于
      http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11
      的基于 Web 的存储库安装 Web 2.0 and Mobile Toolkit。
      注: 此位置不包含可以使用 Web 浏览器访问的 Web 页面。这是基于 Web 的远程存储库位置,您必须将该位置添加到 Installation Manager 首选项中,然后 Installation Manager GUI 才能访问此存储库中的文件以安装产品。

      您应尽可能使用基于 Web 的远程存储库,以便可以访问最新的安装文件。

关于此任务

借助 Installation Manager,可以使用响应文件通过多种方式来安装 Web 2.0 and Mobile Toolkit。可以如以下过程中所述使用 GUI 来记录响应文件,也可以通过手动或通过采用示例并对其进行修改来生成新的响应文件。

过程

  1. 可选: 记录响应文件以安装 Web 2.0 and Mobile Toolkit。

    在某个系统上,执行以下操作以记录将安装 Web 2.0 and Mobile Toolkit 的响应文件。

    1. 在命令行中,切换到 Installation Manager 安装目录中的 eclipse 子目录。
    2. 使用 -record 选项从命令行启动 Installation Manager。
      例如:
      • [Windows] 管理员或非管理员:
        IBMIM.exe -skipInstall "C:\temp\imRegistry" 
          -record C:\temp\install_response_file.xml
      • [AIX][HP-UX][Linux][Solaris] 管理员:
        ./IBMIM -skipInstall /var/temp/imRegistry 
          -record /var/temp/install_response_file.xml
      • [AIX][HP-UX][Linux][Solaris] 非管理员:
        ./IBMIM -skipInstall user_home/var/temp/imRegistry 
          -record user_home/var/temp/install_response_file.xml
      提示: 记录新的响应文件时,可以指定 -skipInstall 参数。使用此参数具有以下好处:
      • 实际不会安装任何文件,这样可以提高记录速度。
      • 如果将临时数据位置与 -skipInstall 参数结合使用,那么 Installation Manager 会在记录响应文件时将安装注册表写入到指定的数据位置。当您在不使用 -skipInstall 参数的情况下再次启动 Installation Manager 时,就可以使用响应文件根据真正的安装注册表来进行安装。

        不应将 -skipInstall 操作用于 Installation Manager 所使用的实际代理程序数据位置。此做法不受支持。请使用全新的可写位置,并为将来的记录会话重复使用该位置。

      有关更多信息,请阅读 IBM Installation Manager 信息中心

    3. 将相应的存储库添加到 Installation Manager 首选项。
      1. 在顶部菜单中,单击文件 > 首选项
      2. 选择存储库
      3. 为每个存储库执行以下操作:
        1. 单击添加存储库
        2. 输入指向包含存储库文件的位置中 repository.config 文件的路径。
          例如:
          • [Windows] C:\repositories\offering_name\local-repositories
          • [AIX][HP-UX][Linux][Solaris] /var/repositories/offering_name/local-repositories
          http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11
        3. 单击确定
      4. 单击应用
      5. 单击确定
    4. 单击安装
    5. 安装软件包窗口中,执行相应的操作。
      1. 选择 IBM WebSphere Application Server Web 2.0 and Mobile Toolkit 和相应的版本。

        如果系统上已安装 Web 2.0 and Mobile Toolkit,那么将显示一条消息,指示已安装 Web 2.0 and Mobile Toolkit。要在尚未安装 Web 2.0 and Mobile Toolkit 的位置安装该工具包,请单击继续

      2. 单击下一步
    6. 接受许可协议中的条款,然后单击下一步
    7. 为产品二进制文件(也称为核心产品文件或系统文件)指定安装根目录。

      该面板还会显示共享资源目录和磁盘空间信息。

      限制:
      • 删除缺省目标位置和将安装目录字段保留为空都会使您无法继续安装。
      • 请勿使用符号链接作为目标目录。

        不支持符号链接。

      • 请勿在目录名称中使用分号。

        如果目标目录包括分号,那么产品将无法正确安装。

        [Windows] 在 Windows 系统上,分号是用来构造类路径的字符。

      • [Windows] Windows Server 2008、Windows Vista 和 Windows 7 操作系统上的最大路径长度为 60 个字符。
    8. 单击下一步
    9. 复审摘要信息,然后单击安装
    10. 单击完成
    11. 单击文件 > 退出以关闭 Installation Manager。
    12. 可选: 如果使用已认证的远程存储库,请创建用于静默安装的密钥环文件。
      注: 在密钥环文件中,可以为需要认证的 URL(如远程存储库)存储相应的凭证。
      1. 在命令行中,切换到 Installation Manager 安装目录中的 eclipse 子目录。
      2. 使用 -record 选项从命令行启动 Installation Manager。
        例如:
        • [Windows] 管理员或非管理员:
          IBMIM.exe -skipInstall "C:\temp\imRegistry" 
            -keyring C:\IM\im.keyring 
            -record C:\temp\keyring_response_file.xml
        • [AIX][HP-UX][Linux][Solaris] 管理员:
          ./IBMIM -skipInstall /var/temp/imRegistry 
            -keyring /var/IM/im.keyring 
            -record /var/temp/keyring_response_file.xml
        • [AIX][HP-UX][Linux][Solaris] 非管理员:
          ./IBMIM -skipInstall user_home/var/temp/imRegistry 
            -keyring user_home/var/IM/im.keyring 
            -record user_home/var/temp/keyring_response_file.xml
      3. 当打开一个窗口,请求已认证远程存储库的凭证时,请输入正确的凭证,并保存这些凭证。
      4. 单击文件 > 退出以关闭 Installation Manager。

        有关更多信息,请阅读 IBM Installation Manager 信息中心

  2. 使用您创建的响应文件来安装 Web 2.0 and Mobile Toolkit。
    1. 可选: 使用响应文件来安装密钥环文件。
      在要安装 Web 2.0 and Mobile Toolkit 的每个系统上,转至命令行,切换到 Installation Manager 安装目录中的 eclipse/tools 子目录,然后安装密钥环文件。例如:
      • [Windows] 管理员或非管理员:
        imcl.exe -acceptLicense 
          input C:\temp\keyring_response_file.xml 
          -log C:\temp\keyring_log.xml
      • [AIX][HP-UX][Linux][Solaris] 管理员:
        ./imcl -acceptLicense 
          input /var/temp/keyring_response_file.xml 
          -log /var/temp/keyring_log.xml
      • [AIX][HP-UX][Linux][Solaris] 非管理员:
        ./imcl -acceptLicense 
          input user_home/var/temp/keyring_response_file.xml 
          -log user_home/var/temp/keyring_log.xml

      有关密钥环文件的更多信息,请阅读 IBM Installation Manager 信息中心

    2. 使用响应文件来安装 Web 2.0 and Mobile Toolkit。
      在要安装 Web 2.0 and Mobile Toolkit 的每个系统上,转至命令行,切换到 Installation Manager 安装目录中的 eclipse/tools 子目录,然后安装 Web 2.0 and Mobile Toolkit。例如:
      • [Windows] 管理员或非管理员:
        imcl.exe -acceptLicense 
          input C:\temp\install_response_file.xml 
          -log C:\temp\install_log.xml 
          -keyring C:\IM\im.keyring
      • [AIX][HP-UX][Linux][Solaris] 管理员:
        ./imcl -acceptLicense 
          input /var/temp/install_response_file.xml 
          -log /var/temp/install_log.xml 
          -keyring /var/IM/im.keyring
      • [AIX][HP-UX][Linux][Solaris] 非管理员:
        ./imcl -acceptLicense 
          input user_home/var/temp/install_response_file.xml 
          -log user_home/var/temp/install_log.xml 
          -keyring user_home/var/IM/im.keyring
      注意:
      • 在此产品安装映像或存储库的 lafilesproduct_name/lafiles 子目录下的许可协议文件中,提供了相关的条款和条件、声明和其他信息。
      • 程序可能会将重要的安装后指示信息写入到标准输出。

      有关更多信息,请阅读 IBM Installation Manager 信息中心

[Windows]

示例

以下是用于安装 Web 2.0 and Mobile Toolkit 的响应文件的示例。
<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean="true" temporary="true">
<server>
<!--<repository location="http://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11" /> -->
<repository location="http://rtpgsa.ibm.com/gsa/projects/w/web20fep/WAS85.W2MTK/daily/web21209.8.linux/linux/zipper/repository/"/>
</server>
<install modify='false'>
<offering id='com.ibm.websphere.W2MTK.v11' 
  profile='Web 2.0 and Mobile Toolkit V1.1'
  installFixes='none'/> 
</install>
<profile id='Web 2.0 and Mobile Toolkit V1.1' 
  installLocation='C:\Program Files\IBM\WebSphere\Web20Mobile'>
<data key='eclipseLocation' value='C:\Program Files\IBM\WebSphere\Web20Mobile'/>
<data key='cic.selector.nl' value='en'/>
</profile>
</agent-input>

下一步做什么

可以通过使用所包含的各个功能部件和应用程序来开始使用 Web 2.0 and Mobile Toolkit。

任务主题    

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

最近更新日期: May 11, 2012 12:10 PM EDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v850webmob&product=was-nd-mp&topic=tweb_ins_install_dist_silent
文件名: tweb_ins_install_dist_silent.html