Install the component Admin for tomcat

来源:互联网 发布:mysql 快速创建索引 编辑:程序博客网 时间:2024/05/16 01:14

step1:
Download the component Admin from apache.
The directory of component like following:

--component root
    |--conf-|
    |            |-Catalina -|
    |                                |-localhost -|
    |                                                      |-admin.xml
    |-server -|
    |               |-webapps -|
    |                                     |-admin-|..
    |                                                    |...
    |....
    |...
Step2:

Copy $COMPONENT$/server/webapps/admin To $TOMCAT_HOME$/server/webapps/
Copy $COMPONENT$/conf/Catalina/localhost/admin.xml To $TOMCAT_HOME$/config/Catalina/localhost/

Step3:

Set user role in tomcat-users.xml

now, you can access the administion in tomcat console by http://localhost:8080/admin

原创粉丝点击