Apache and Tomcat Installation Configuration Manual

xiaoxiao2021-03-06  45

Many friends send me a letter, I hope to get the latest installation document, I use my spare time, install Red Hat Linux Release 8.0 (PSYCHE) and the desired application, and reset the configuration of Apache and Tomcat integration. The installation and configuration is more smooth, so update this document, I hope everyone will help! If there is any mistake, please refer to you! Ok, no Luo! 1. The required package J2SDK-1_4_1_02-Linux-i586 Apache2.0.40 (Red Hat Linux) Jakarta-Tomcat-4.1.18 Jakarta-Tomcat-Connectors-4.1.18 2. Package Download Address (1) Java J2SE1.4.1 URL: http: // Java.sun.com/j2se/1.4.1/download.html (2) apache2.0.40 URL: http://httpd.apache.org (3) Tomcat 4.1.18 URL: http://jakarta.apache.org /BUILDS/JAKARTA-TOMCAT-4.0/Release/v4.1.18/bin/jakarta-tomcat-4.1.18.tar.gz (4) Tomcat Connectors-4.1.18 Url: http://jakarta.apache.org/builds /jakarta-tomcat-4.0/release/v4.1.18/src/jakarta-tomcat-connectors-4.1.18-src.tar.gz 3. Software installation (1) Unnovation of the compressed package Using Gunzip or TAR or RPM unwave download The package is installed in accordance with the default mode.

(2) Directory processing J2SDK installation directory: /usr/j2sdk1.4.1_02 Apache installation directory: / etc / httpd / usr / lib / apache / var / www jakarta-tomcat installation directory: /opt/jakarta-tomcat-4.1. 18 JAKARTA-TOMCAT-Connectors installation directory: /opt/jakarta-tomcat-connectors-4.1.18-src 4. Environment variable set java_home = / usr / j2sdk1.4.1_02 classpath = $ java_home / lib: $ java_home / jre / lib Catalina_base = / opt / jakarta-tomcat-4.1.18 catalina_home = / opt / jakarta-tomcat-4.1.18 path = $ java_home / bin: $ java_home / jre / bin: $ PATH: $ HOME / BIN 5. Special installation ( 1) Compile Jakarta-Tomcat-Connectors CD /opT/jakarta-Tomcat-Connectors-4.1.18-src/webapp ## Enter the specified directory ./support/buildconf.sh ## Generate compilation profile ./configure --with -apxs ## Generate Makefile Compile File Make ## Compile Generate MOD_WEBAPP.SO Note: The generated mod_webapp.so file is reminded in the Apache-2.0 directory: If you fail to generate mod_webapp.so, you can't find APXS, then you can find you At the time of installation, the Apache additional development kit is installed. Please download the installation of the development package (this package in redhat 8 is: httpd-design) is: httpd-devel-2.0.40-8.i386. RPM) (2) Copy the mod_webapp.so file in the Apache-2.0 directory to the directory / usr / lib / httpd / modules and check the properties of the file /usr/lib/httpd/modules/mod_webapp.so, should be with other modules files The attribute is consistent, if not the same, use chmod chgrp chown to modify it.

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

New Post(0)