第 46 章 安装并运行 IBM WebSphere Application Server

必须安装并运行 IBM WebSphere Application Server,才能应用容纳 KIE 服务器的许多配置。这部分论述了如何安装和启动 IBM WebSphere。

有关最新和详细安装说明,请参阅 IBM 知识库。

流程

  1. 从 IBM 安装 管理器和打包实用程序页面下载 IBM 安装管理器 1.8.5 或更高版本。安装 IBM WebSphere 需要 IBM 安装管理器。
  2. 提取下载的存档,并以 root 用户身份在新目录中运行以下命令:

    sudo ./install

    IBM 安装管理器 将打开。

  3. 进入 FilePreferences,点 Add Repository
  4. Add Repository 窗口中,输入 IBM WebSphere 9.0 的存储库 URL。您可以在 IBM 知识库 的 IBM WebSphere Application Server 产品页面的在线产品存储库中找到所有存储库 URL。
  5. 在命令终端中,导航到安装期间指定的 IBM WebSphere Application Server 文件夹位置。
  6. 更改到 /bin 目录,并运行类似以下示例的命令,以创建 IBM WebSphere 配置集、用户名和密码。配置集定义运行时环境。该配置文件包含服务器在运行时环境中进程的所有文件,并可更改这些文件。登录需要该用户。

    sudo ./manageprofiles.sh -create -profileName testprofile -profilePath /profiles/testprofile  -adminUserName websphere -adminPassword password123
  7. 在命令终端中,导航到您创建的配置集中的 bin 目录(例如 /profiles/testprofile/bin),再运行以下命令来启动 IBM WebSphere Application Server 实例:

    sudo ./startServer.sh <SERVER_NAME>

    <SERVER_NAME > 替换为 ServersServer TypesIBM WebSphere Application Servers 控制台中定义的 IBM WebSphere Application Server 名称。

  8. 在网页浏览器中打开以下 URL:

    http://<HOST>:9060/ibm/console

    <HOST > 是目标服务器的系统名称或 IP 地址。

    例如,要为系统上运行的 IBM WebSphere 的本地实例启动 WebSphere Integrated Solutions 控制台,请在网页浏览器中输入以下 URL:

    http://localhost:9060/ibm/console
  9. 当显示 WebSphere Integrated Solutions Console 的登录页面时,请输入您的管理凭证。