【英文】开启 Tomcat Web 应用程序管理器

Preface

Open Tomcat Web Application Manager (Tomcat Probe)

Configure Username and Password

  • Tomcat Probe is already available by default (unless the Probe page is deleted after setting up the Tomcat environment), but username and password need to be configured to access it.

Installation from Universal Platform Compressed Package

  • Add the <user /> tag in the <tomcat-users></tomcat-users> section of the configuration file.

<<username>>: Username
<<password>>: Password

tomcat/conf/tomcat-users.xml
1
2
3
<tomcat-users>
<user username="<<username>>" password="<<password>>" roles="manager-gui"/>
</tomcat-users>

Installation via MacOS Brew

  • Add the <user /> tag in the <tomcat-users></tomcat-users> section of the configuration file.
/usr/local/etc/tomcat/tomcat-users.xml
1
2
3
<tomcat-users>
<user username="<<username>>" password="<<password>>" roles="manager-gui"/>
</tomcat-users>

Completion

References

CSDN - cyan20115