tomcat management interface configuration

1. Ensure that the initial related management programs exist in the webapps directory. The related programs include the following directories: docs, examples, host-manager, manager, ROOT

2. Edit: the /conf/tomcat-user.xml file in the root directory, add roles and users to it (use the following configuration instead of comments)

<role rolename="admin-gui"/>
<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="admin-gui,manager-gui"/>

 Among them, the "admin-gui" role corresponds to the page Host Manager management function, and "manager-gui" corresponds to the page Manager App function.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326158899&siteId=291194637