Transferred from: Http://www.glasses.com.cn/news/2008-2-19/1913551333.html
Admin package can be easily configured on the server through a browser. This applicationProgramTomcat administration Web application. However, Tomcat 5.5 and later binary core installation versions no longer provide Tomcat administration Web applications. To install the latter, you must download and install it separately. Tomcat does not provide an automatically integrated installer for the administration Web application.
This article describes the installation and configuration process.
Step 1: Check whether the administration Web application is installed in your tomcat. First, make sure that the Tomcat service is running. In the browser, type http: // localhost: 8080/admin. If you see the Tomcat web server administration tool page, it indicates that the administration Web application has been installed. You can save some time. If you see Tomcat's administration Web application is no longer installed by default. download and install the "admin" package to use it. It means that you have not installed any management tools.
Step 2: Download the admin package. Http://atat.apache.org/download-55.cgi, the fourth item in the binary distributions column on the download page. The administration Web application is.
Step 3: When you decompress the downloaded administration Web application file, for example, in D: \ Tom, you will find that the decompressed file is D: \ Tom \ apache-Tomcat-5.5.20. In this case, enter http: // localhost: 8080/admin to check the admin, and you will find that tomcat has not changed anything. Because the unzipped admin file has not been configured in the Tomcat System. The following steps show you how to configure the admin file to the Tomcat server.
Step 4: Set D: \ Tom \ apache-Tomcat-5.5.20 \ conf \ Catalina \ localhost \ admin. XML admin. copy the XML file to the D: \ Java \ tomcat55 \ conf \ Catalina \ localhost folder. Be sure to place it in the correct path folder.
Step 5: copy the entire admin folder in D: \ Tom \ apache-Tomcat-5.5.20 \ Server \ webapps to the d: \ Java \ tomcat55 \ Server \ webapps folder.
Step 6, open the tomcat-users.xml file in D: \ Java \ tomcat55 \ conf \ with notepad with editing function. Add the following line before the last line of </tomcat-user>:
<User Username = "admin" Password = "Tomcat" roles = "Admin, Manager"/> "/〉
This line is usually available by default.
Note that username/password can be any combination you like, but roles = "admin" cannot be changed at will.
Step 7: restart Tomcat server, enable http: // 127.0.0.1: 8080/in the Manager window, start the admin service, enter the admin module, and Type HTTP in the Web browser: // localhost: 8080/admin. You can see the login interface of Tomcat server web administration tool.
If the preceding page is not visible, check the proxy server settings of the browser to accept localhost.