Apache -- tomcat-6.0.33Install configurations
- Download APACHE-Tomcat-6.0.33 and tomcat: tomcat.apache.org.
- Installation Directory: D: \ apache-Tomcat-6.0.33.
- Set the catalina_home environment variable:
Computer> Properties> advanced> environment variables> Add environment variables,
.
- If the project file has been compressed into a war package, name the war package root. War and place it in the webapps folder under the tomcat installation directory to replace the original root folder.
- Start Tomcat and double-click STARTUP. bat in the bin in the tomcat installation directory.
- Install Tomcat as a service method:
Run service. Bat install in the Tomcat bin directory.
- Tomcat port settings: Open Server. XML in D: \ apache-Tomcat-6.0.33 \ conf \; find the following content, change 8080 to 80, and restart the service.
<Connector Port = "8080" protocol = "HTTP/1.1"
Connectiontimeout = "20000"
Redirectport = "8443" type = "regxph" text = "yourobjectname"/>
Problems:
1. When running a webpage, some parts of the webpage are not displayed ==> the cache is deleted considering the cache issue. The cached directory is the Catalina folder under .. \ apache-Tomcat-6.0.32 \ conf, and the entire folder is deleted.
2. Before starting tomcat, make sure that no other service in the system has occupied port 8080 (default Tomcat port) and Port 8009 (Tomcat \'s ajp13 connector port)
3. If you have already installed IIs before installation, stop the IIS service first. Because both IIS and Apache use port 80 by default, otherwise it will conflict.