第 46 章 安装和运行 IBM WebSphere Application Server
必须安装并运行 IBM WebSphere Application Server,才能应用适用于 KIE 服务器的许多配置。这部分论述了如何安装和启动 IBM WebSphere。
有关最新和详细的安装说明,请参阅 IBM 知识库。
流程
- 从 IBM 安装 管理器和打包实用程序下载链接页面下载 IBM 安装管理器 版本 1.8.5 或更高版本。安装 IBM WebSphere 需要 IBM 安装管理器。
解压下载的存档,并以 root 用户身份在新目录中运行以下命令:
sudo ./install
此时会打开 IBM 安装管理器。
-
前往 File
preferences ,然后单击 Add Repository。 - 在 Add Repository 窗口中,输入 IBM WebSphere 9.0 的存储库 URL。您可以在 IBM 知识库 的 IBM WebSphere Application Server 产品页面中找到在线 产品存储库中的所有存储库 URL。
- 在命令终端中,导航到在安装过程中指定的 IBM WebSphere Application Server 文件夹位置。
切换到
/bin
目录并运行类似以下示例的命令,以创建 IBM WebSphere 配置集、用户名和密码。配置集定义运行时环境。该配置集包括服务器在运行时环境中进程以及您可以更改的所有文件。登录需要该用户。sudo ./manageprofiles.sh -create -profileName testprofile -profilePath /profiles/testprofile -adminUserName websphere -adminPassword password123
在命令终端中,导航到您创建的配置集中的
bin
目录(例如/profiles/testprofile/bin
),再运行以下命令来启动 IBM WebSphere Application Server 实例:sudo ./startServer.sh <SERVER_NAME>
将
<SERVER_NAME
> 替换为在 ServersServer Types IBM WebSphere Application Server of the WebSphere Integrated Solutions Console 中定义的 IBM WebSphere Application Server 名称。 在网页浏览器中打开以下 URL:
http://<HOST>:9060/ibm/console
<HOST
> 是目标服务器的系统名称或 IP 地址。例如,要为在系统中运行的 IBM WebSphere 实例启动 WebSphere Integrated Solutions 控制台,在网页浏览器中输入以下 URL:
http://localhost:9060/ibm/console
- 当显示 WebSphere 集成解决方案控制台的登录页面时,请输入您的管理凭证。