Under C:\tomcat\bin, double-click Startup.bat to start Tomcat,
Open IE, enter http://localhost:8080
Well, the long-awaited kitten appears, which means your Tomcat has been configured successfully.
But at present we can only access through the IP network, very inconvenient, the following how to bind the domain name:
Into the c:\tomcat\conf.
Open Server.xml
Will find
And then into the C:\tomcat\conf\catalina\.
Rename the directory localhost to www.***.com
OK, then restart Tomcat.
Enter your domain name: how www.***.com? It's OK.
Here are some tips for you, that is, Tomcat Web admin, I believe many people have used it, it is indeed more convenient than handwritten server.xml.
Open C:\tomcat\conf\tomcat-users.xml
InBefore joining such a paragraph:
So we added 123 to this user, and the password is 123, and it has admin,manager,tomcat role permissions.
Below opens the URL: www.***.com/manager/html appears a dialog box, enters the username and the password: enters.
Entering Tomcat Web Application Manager
One of the server status to detect the state of the system, we can see the version of the system, the server's operating system, and the current active process, and so on, others do not elaborate, you can try to use.
Open http://www.***.com/admin/index.jsp
Enter the user and password into the Tomcat Web Server Administrator backstage, the specific how to use, I believe you know, and then no more said, we have any comments or questions, welcome to-Amoy network www.tot.name-together to exchange.
I hope this article can be helpful to you, the above is tomcat in Windows configuration example, Linux configuration, and then send it after I finish.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.