Tomcat and JK2 installation configuration

xiaoxiao2021-03-06  43

JDK installation

Step 1: Directly run J2SDK1_4_2-win.exe, all the way to install, I here's default installation path is D: / jdk

Step 2: Configure environment variables

Click the right click on my computer - click Advanced - Click on the environment variable

The Environment Variables dialog box pops up, newly created the following variable names and values:

-------------------------------------

Variable name: Path

Variable value:.; D: / JDK / BIN; D: / JDK; D: / WebGui / Apache2 / bin; D: / WebGui / MySQL / BIN

Variable name: java_home Variable: D: / JDK

Variable name: ClassPath

variable:

D: / jar; / Tomcat/common/lib/servet.jar; D: / Tomcat / Common / Classes; D: / Tomcat / Common / lib; D: / JDK / LIB /MM.MYSQL-2.0.4-bin.jar;d:/JDK/LIB/dt.jar;d:/JDK/JRE/LIB/ext

Step 3: Restart the computer to make the configured environment variable

Tomcat installation

Step 1: Directly run the installation jakarta-tomcat-5.exe, the default installation path in this is d: / tomcat

At this time, if you start Tomcat separately (run Startup.bat in the Tomca directory, starting Tomcat or running on the menu bar.

Tomcat, you can already run the JSP file, but we have not integrated Apache and Tomcat yet because

Although Tomcat has built-in Apache HTTP service, he only refers to a better execution efficiency to the JSP program.

And performance, the processing speed of the static page is far less than Apache, so we have to be a perfect web system

Apache and Tomcat are integrated!

转载请注明原文地址:https://www.9cbs.com/read-51204.html

New Post(0)