Installing configuring Apache + Tomcat on Windows 2000 Server

xiaoxiao2021-03-06  60

The following operations pass through the actual test * Suggestions: Do not include spaces in the installation directory name: 1.java development Kit J2SDK 1.4.22.jakarta-tomcat-4.1.303.apache_2.0.504.mod_jk_2.0.47.dll Bridge Tomcat And Apache [Prepare Condition] 1.Setup J2SDK 1.4.22.SET Env var: java_home = c: /j2sdk1.4.2_043.set env var: path = $ path; c: /j2sdk1.4.2_04/bin; c: / J2SDK1.4.2_04 / jre / bin4.set env var: classpath = c: /j2sdk1.4.2_04/lib; c: /j2sdk1.4.2_04/jre/lib

[Setup Tomcat 4.1.30 on Windows 2000 Server] 1.Run jakarta-tomcat-4.1.30.exe2.modify setup directory c: /tomcat4.13.set as nt service3.http / 1.1 Connector Port: 8090 // By default For 8080, the 80904.administrator: admin 5.Password: 1236.Setup over

[Config Tomcat] 1.set env var: tomcat_home = c: /tomcat4.1

[Success Test] http://127.0.0.1:8090 The Tomcat interface appears, and can enter the management interface.

[Setup apache on window 4 2000 Server] 0.stop IIS service1.run apache_2.0.50-win32-x86-no_ssl.exe2.modify setup directory c: / apachegroup // No space 3.domain and servername suggestions: localhost

[Config Apache on Windows 2000 Server] 1. MOD_JK_2.0.47.DLL searched on the Internet 2.Modify httpd.conf (c: / apachegroup / apache2 / conf) 2.1: Resolving Chinese display issues. Comment out "AddDefaultCharset ISO-8859-1", then "#AddDefaultCharset ISO-8859-1" Add the following three lines as follows: AddDefaultCharset GB2312 DefaultLanguage GB2312 AddLanguage zh-cn .cn 2.2: add the final surface: LoadModule jk_module modules / MOD_JK_2.0.47.DLL // This is added to the module of mod_jk_2.0.47.dll, the following is a virtual host ServerAdmin Admin // When you install Apache, there is of course a better way of writing Documentroot " C: /tomcat4.1/webapps/root "// DocumentRoot is the directory you put a JSP or Servlet. ServerName localhost // When you install apache, there is of course a better way to write DirectoryIndex index.htm index.html index.jsp errorlog logs / dummy-host.example.com-error-host.example.. COM-Access_Log Common 2.3: Find "DirectoryIndex", add index.jsp after index.html, have spaces. 3. In the Apache2 / Conf directory, new text file workers2.properties is entered in it: [SHM] file = $ {serverroot} /logs/shm.file size = 1048576 # Example Socket Channel, Override port and host. [Channel " . Socket: localhost: 8009] Port = 8009 Host = 127.0.0.1 # Define the worker [AJP13: localhost: 8009] channel = channel.socket: localhost: 8009 # URI mapping [uri: / *] worker = ajp13: localhost: 8009 Save, start the Tomcat server, start the APACHE server

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

New Post(0)