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

时间:2015-03-02 09:13:31

标签: websphere websphere-liberty

我已经安装了WebSphere Liberty profile 8.5。我能够使用http://localhost:9080

访问WebSphere服务器

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

3 个答案:

答案 0 :(得分:6)

你还没有Liberty中的'经典'网络管理控制台。目前,您可以安装admin-center功能,该功能提供了一些基本功能。

另见:

答案 1 :(得分: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访问管理中心

已通过WebSphere Application Server 19.0.0.2/wlp-1.0.25测试。

答案 2 :(得分:-2)

  

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

setMaxAge(int)

http://localhost:9080/adminCenter/

相关问题