1. Download
2. Installation Configuration
- JDK Installation Configuration
The installation process does not repeat.
Configuration:
Java_home, the variable value is: C:\JDK (depending on the JDK path)
CLASSPATH, the value of the variable is.; %java_home%\lib;
PATH, variable value is%java_home%\bin
-
-
- In the cmd command line interface, enter the command java-version to test whether the installation was successful.
Unzip the download package, you can modify the default folder name, such as Modify apache-tomcat-8.0.0-rc5-windows-x64 to Tomcat.
Configuration:
Tomcat_home Variable Value: C:\tomcat (Tomcat decompression path)
Catalina_home Variable Value: C:\tomcat (same as Tomcat_home, for Tomcat decompression path)
Modify path, add the following at the end: ";%catalina_home%\bin;%catalina_home%\lib", the value of each variable must be used;
-
-
- Configuring Tomcat for System Services
To modify the Service.bat, add it before the first line:
Name of the service: set Service_name=tomcat
Display name of the service: set Pr_displayname=apache Tomcat
In the DOS interface, enter the bin directory of the Tomcat decompression directory and input the command: Service remove Tomcat
Service.bat Install
If the installation succeeds, you will be prompted: the service ' Tomcat (or you have modified one after the service_name) ' has
been installed
3. Testing
Enter http://http://localhost:8080 or http://127.0.0.1:8080 in the browser
The installation will be successful as shown in
Windows Platform Tomcat Service build