Tomcat 7.X installation tutorial (simple and easy to understand)
Step 1: Download the Tomcat 7.x version
Official website 7.x download address: https://tomcat.apache.org/download-70.cgi
https://aoian.lanzous.com/iCWyymcnk1i
Password: 6666
If the computer is a 64-bit system, download the version pointed to by the arrow above, if it is 32-bit, download the 32-bit version above the arrow
Step 2: Unzip and run
1. Unzip the downloaded compressed package and open the folder
2. Double-click the startup.bat file in the bin directory
Step 3: configure environment variables
The Tomcat server is developed by the Java language. It needs to obtain the installation location of the JRE according to the JAVA_HOME or JRE_HOME environment variables at runtime, so as to use the Java virtual machine to run Tomcat
1. Right-click the "My Computer" icon, select "Properties"-enter the "Advanced" tab-click "Environmental Variables"
(as shown in the figure below)
2. Click "Environment Variables"-click the "New" button below, the variable name in the pop-up dialog box is set to "JAVA_HOME", the variable value is set to the JDK installation directory, click the OK button after setting
3. Test the Tomcat configuration
Enter " http://127.0.0.1:8080 " or " http://localhost:8080 " in the address bar of the browser
If the interface shows the following figure, it means the configuration is successful