tomcat监控工具probe

  1. probe官网:http://www.lambdaprobe.org/
    可是已经连接至github了:https://github.com/psi-probe/psi-probehtml

  2. 下载psi-probe-web-3.1.0.wargit

  3. tomcat配置./conf/user.xmlgithub

    <role rolename="manager-gui "/>
    
     <!-- 用户设置密码、角色 -->
     <user username="admin" password="admin" roles="manager-gui"/>

    下面这些配置也是必须的,不然上面设置的用户没法登录
    ./conf/server.xml的Server/GlobalNamingResources下web

    <!-- Global JNDI resources
        Documentation at /docs/jndi-resources-howto.html
     -->
     <GlobalNamingResources>
         <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
         -->
         <Resource name="UserDatabase" auth="Container"
                 type="org.apache.catalina.UserDatabase"
                 description="User database that can be updated and saved"
                 factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                 pathname="conf/tomcat-users.xml" />
     </GlobalNamingResources>

    ./conf/server.xml的Server/Service/Engine下apache

    <!-- Use the LockOutRealm to prevent attempts to guess user passwords
            via a brute-force attack -->
     <Realm className="org.apache.catalina.realm.LockOutRealm">
     <!-- This Realm uses the UserDatabase configured in the global JNDI
             resources under the key "UserDatabase".  Any edits
             that are performed against this UserDatabase are immediately
             available for use by the Realm.  -->
     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/>
     </Realm>
  4. 部署war包tomcat

  5. 安装官方文档:
    https://github.com/psi-probe/psi-probe/wiki/InstallationApacheTomcatui

  6. 角色及支持的特性信
    https://github.com/psi-probe/psi-probe/wiki/Features#features-by-rolethis

相关文章
相关标签/搜索