如何在WebSphere Liberty Profile中启动管理控制台

问题描述 投票:4回答:3

我已经安装了WebSphere Liberty profile 8.5。我可以使用http://localhost:9080访问WebSphere服务器

但不确定如何启动管理控制台。

websphere websphere-liberty
3个回答
6
投票

您还没有Liberty中的“经典”Web管理控制台。现在您可以安装admin-center功能,它提供了一些基本功能。

也可以看看:


1
投票

如前所述,与管理控制台相比,只有管理中心可用的功能非常少。以下是在Docker Websphere自由配置文件上部署管理中心的解决方案:

使用以下行创建文件“Dockerfile”(如果您没有使用默认服务器,请更改server.xml的路径):

FROM websphere-liberty
RUN installUtility install adminCenter-1.0 --acceptLicense
RUN sed -i 's/<\/server>//g' /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '<featureManager><feature>adminCenter-1.0</feature></featureManager>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '<basicRegistry id="basic"><user name="admin" password="adminpwd" /></basicRegistry>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '<administrator-role><user>admin</user></administrator-role>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '</server>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
ENV LICENSE accept
EXPOSE 80 9080 9448 9443 9060

从以前的文件目录中,运行以下命令:

docker build -t liberty-console .
docker run -p 9443:9443 liberty-console

从url https://localhost:9443/adminCenter访问admin-center

使用WebSphere Application Server 19.0.0.2/wlp-1.0.25进行测试。


-2
投票

default(默认服务器)考虑自由源位置/usr/servers/defaultServer/server.xml上的mofify设置

http://localhost:9080/adminCenter/

https://localhost:9443/adminCenter/

© www.soinside.com 2019 - 2024. All rights reserved.