使用 Installation Manager 卸载产品

使用此场景可卸载随 Installation Manager 一起安装的 Build Forge 产品组件。

注: 该过程不会卸载已针对 Build Forge 创建的数据库或者数据库对象。您必须使用针对您数据库的工具单独将其除去。针对 Windows 上安装的数据库,您可以使用控制面板 > 添加或删除程序。请咨询数据库文档以获取指示信息。在除去 Build Forge 产品组件之后再除去数据库或数据库对象。

要卸载产品组件,请完成以下步骤:

  1. 使用安装产品软件包时所用的同一用户帐户登录至操作系统。

    关闭随 Installation Manager 安装的任何正在运行的程序。

  2. 如果 Build Forge 引擎和服务正在运行,请如下停止该引擎和服务:
    Windows
    • 如果引擎正在前台运行:按住 Ctrl + c 以停止引擎和 Build Forge 服务。
      要点: 停止引擎和服务的最可靠方法是使用 Ctrl + c。如果卸载时引擎或任何 Build Forge 服务仍在运行,那么卸载将失败。
    • 如果引擎正在后台运行:打开命令窗口并输入以下命令以停止引擎和服务:
      net stop bfengine<major number><Fix Pack
      Number>-<Build Number>
      例如,net stop bfengine 8.0.0.0-0-0308

    这些命令停止 Build Forge 引擎、Apache HTTP Server 和 Apache Tomcat 应用程序服务器。

    UNIX/Linux
    1. 在命令窗口中,切换至 Build Forge rc 目录。
      cd /opt/buildforge/rc
    2. 停止引擎。
      ./buildforge stop
      该命令停止 Build Forge 引擎、Apache HTTP server 和 Apache Tomcat 应用程序服务器。
  3. 启动 IBM Installation Manager。
  4. 在起始页上,单击卸载
  5. 在“卸载软件包”页面,从“安装软件包”列表中,选择您想卸载的产品软件包,并单击下一步
  6. 在“摘要”页面上,查看要卸载的软件包的列表,并单击卸载。除去软件包后,将显示“完成”页面。
  7. 单击完成
  8. 关闭 Installation Manager 窗口,并退出 Installation Manager。

    必须先退出 Installation Manager,然后才能清除 Build Forge 文件、除去 DB2 Express 数据库(可选)或重新安装产品。


反馈