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

相關文章
相關標籤/搜索