Tomcat download installation and configuration of environment variables
Today you will learn about the configuration of Tomcat downloads and environment variables, and start the Tomcat server to show the effect. First you need to configure the Java environment before you can do so. This refers to the installation configuration Tomcat. Place
1: Download Tomcat
Download the Tomcat version you need at Tomcat's official website, tomcat downloads.
I download the study is TOMCAT7-free version of the installation, download a good tomcat--apache-tomcat-7.0.63-windows-i64.zip only need to extract to the specified directory. My decompression in: D:\KuYuPritace\apache-tomcat-7.0.63
2: Configuration of environment variables
This configuration is also done on the basis of Java installation and environment variable configuration.
The input reads as follows:
Variable name 1:catalina_home
Variable Value: D:\KuYuPritace\apache-tomcat-7.0.63
Variable name 2:catalina_base
Variable Value: D:\KuYuPritace\apache-tomcat-7.0.63
Variable name 3:tomcat_home
Variable Value: D:\KuYuPritace\apache-tomcat-7.0.63
After determination, add%catalina_home%\common\lib\servlet-api.jar to the classpath;
Add%tomcat_home%\lib to Path;
3: Start the Tomcat server
Once configured, you can start Tomcat directly using the cmd command call!
4: See if the configuration was successful.
After Tomcat starts, enter http://localhost:8080 in the Web address bar to view
The following effect appears, stating that the configuration was successful.
5: View the version and configuration information for Tomcat
Enter version for viewing.
6: Turn off Tomcat server
Using the Shutdown command