一、修改配置文件apache-tomcat-8.5.50conf omcat-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.50webappsmanagerMETA-INFcontext.xml
三、重启tomcat服务
四、访问监控页面:http://ip:port/manager/status
账号密码admin