1. Get access to Apache's official website download, open source free of charge
Tomcat Categories:
Tomcat is divided into the installation version and green version, the green version can be downloaded without installation.
Tomcat Startup is a bat file (under Windows), in the Bin directory. You can double-click.
If the startup is unsuccessful, the general situation is that the console comes out immediately and disappears , indicating that Tomcat did not find the Java Runtime environment.
The simple understanding is that Tomcat cannot find the JDK and is not able to run.
We "tell" the installation path of its JDK. Create a new java_home (case insensitive) in the environment variable, pointing to the JDK installation directory. As follows:
2. An introduction to the directory structure of Tomcat.
The bin directory holds some executable programs and related content that start running Tomcat.
Conf stores the global configuration about the Tomcat server.
The Lib directory holds the jar packages required for Tomcat to run or the site to run, and all the sites on this Tomcat share these jar packages.
The Wabapps directory is the default site root directory and can be changed.
The work directory is used for excessive resources when the server is running, simply to store the JSP, servlet translation, and compiled results.
Other directories and files are not introduced for the time being.
Tomcat Acquisition and Installation