标签:min width user status lazy contex stat div meta
一、修改配置文件apache-tomcat-8.5.50\conf\tomcat-users.xml
添加:
<role rolename="admin-gui"/> <role rolename="admin-script"/> <role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="manager-jmx"/> <role rolename="manager-status"/> <user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-script,admin-gui"/>
二、修改配置文件apache-tomcat-8.5.50\webapps\manager\META-INF\context.xml
三、重启tomcat服务
四、访问监控页面:http://ip:port/manager/status
账号密码admin
标签:min width user status lazy contex stat div meta
原文地址:https://www.cnblogs.com/penghq/p/13373164.html