Tomcat installation
1. Download Tomcat first, to http://tomcat.apache.org/
2. Note that you can download files in ZIP or EXE format. In the ZIP format, you only need to decompress the files and configure the environment variables to use them, just like the green version. Here I use the latter EXE format, which is more convenient for beginners than the others.
3. here, I downloaded the Tomcat 6.0 version and the address ghost. So when I download it, click the "32-bit/64-bit Windows Service Installer (Pgp, MD5)" shown in the figure )"
4. After the download, see:
5. Double-click to install (Note: Install JDK before installation)
6. Click "Next"
7. Click "I agree"
8. Select "full" and click "Next"
9. If you have not installed other servers, the port will remain the default value. Set the password as needed. Click "Next"
10. Change the installation path and click "Next"
11. It will automatically search for the JRE in your machine, that is, the Java execution environment. That's why you need to install JDK first and click "Install"
12Wait for a while
13. Click "finish" to complete the installation.
14. Try again. Open the browser and enter: http: // localhost: 8080 or http: // 127.0.1.1: 8080:
Tomcat is successfully installed!
Tomcat startup and Shutdown
Method 1: Click Start ". ...
Click "monitor Tomcat" and the status bar displays:
Click Start service to start Tomcat. Click Stop Service to close tomcat.
Method 2: Open the Doc directly and enter "Net start tomcat6" as follows:
You can start Tomcat. This is the easiest way. Stop Tomcat service: Enter "net stop tomcat6"
Method 3: Go to "Control Panel" and click "performance and maintenance"
Click "Management Tools"
Double-click "service"
Select Apache Tomcat, click "start this service" to start the service, click "Stop this service" to stop the service, or click "restart this service" to restart the service. (Assume that you do not want the Tomcat service to be started by yourself, you can change the service to manual ")
Change Method: select, right-click Apache Tomcat, and select "properties" to display:
Change "Startup Type (E)" to "Manual", click "application (a)", and "OK ".
Download and install tomcat6.0