=============================================
This article I have tested passed!
=============================================
Title: Integration of Apache2 and TOMCAT4 under Windows2000
Author: robornet
Date: 2002-10-30
Original: A time of the Java project, to the distribution of the time, can not find a copy of the latest Apache2 and TOMCAT4 of the integrated configuration, so read the Half-day Jakarta Online information, and refer to the previous user's article,
Write this configuration document for reference, Welcome to treatise!
Directory:
First, software preparation
Second, the Software installation
Third, the first configuration and testing
Iv. Integrated Configuration
V. Full-line Testing
Six, insufficient
Vii. Thank you.
Viii. description
Steps:
First, software preparation:
Let's say you have a hard and soft software environment that works Win2000.
1.j2sdk1.4.1: Download to http://java.sun.com/j2se/1.4.1/download.html! (Note that the SDK version of Windows (all languages, including 中文版)
2.apache2.0.43: To Http://www.apache.inetcosmos.org/dist/httpd/binaries/win32/apache_2.0.43-win32-x86-no_ssl.msi Download!
3.tomcat4.1.12: Download to Http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.exe!
4.mod_jk.dll: Download to Http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32/mod_jk-2.0.42.dll!
(description, due to Mod_jk2-2.0.43.dll and Apache2.0.43 configuration is not successful, is replaced by Mod_jk-2.0.42.dll)
Second, the Software installation:
(1) Installation J2SDK:
1. Follow the installation Wizard to install (general installation to c:j2sdk1.4.1 under, easy to operate below)
(2) Install Apache:
1. Follow the installation Wizard to install (choose the installation directory is C:, convenient for the following operation; After successful installation, its path is: c:apache2)
(3) Install Tomcat:
1. Follow the installation Wizard to install (change the installation directory for C:TOMCAT4, if only testing, there is no need to install Tomcat into services, easy to operate below),
In the meantime you will be asked to enter the admin (System Administrator) password.
Third, the first configuration and testing:
Configure the software environment installed above for the first time and test its environment.
(1) configuration-Environment variables:
1. New system variable Java_home, the value is: c:j2sdk1.4.1//If you do not follow the above path installation please change to the correct path
2. New system variable Tomcat_home, the value is: C:TOMCAT4//ditto
3. New system variable Classpath, the value is:%java_home%lib;%tomcat_home%lib
(2) Modification error:
1.apache2.0.43 There is a small problem, the default installation is successful in the Apache2 home directory in the Htdocs directory does not have index.html files, you have to change the directory Index.html.en renamed Index.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.