RedHat + Apache + JServ + JSDK

zhaozj2021-02-16  135

[China Linux Forum] WANGZY ENET Academy Installing Apache Jserve 1.1.2 While Apache JServ's development team is now engaged in Tomcat development, and Apache Jserve only supports Servlet 2.0 standards, and add other software (GNUJSP) to Support JSP; however, Apache JServ is stable than Tomcat at this stage, so Apache Jserve GNUJSP is now suitable for web. If you want to use servlet2.2 and jsp1.1, use Tomcat, see Tomcat installation. This article describes the installation of Apache Jserve 1.1.1 under RedHat.

First, the software you need: JDK_1.2.2 From http://java.sun.com download apache_1.3.12 from www.apache.org download Apache Jserve-1.1.1 Download JSDK2.0 from java.apache.org (only 2.0) Download 2 from http://java.sun.com, please install the JDK first, please refer to the JDK installation, pay attention to set the ClassPath and Path Copy Apache, Apache JSERV source package to / TMP #TAR XVZF Apache_1 .3.12.tar.gz #tar xvzf apachejserv-1.1.2.tar.gz 1, static compilation, compile into apache #cd apache_1.3.12 #. / Configure --prefix = / usr / local / apache configuration apache jserv compilation Parameters #CD ../apachejserv-1.1.2 #. / Configure --prefix = / usr / local / jserv --with-apache-src = .. / apache_1.3.12 --with-jdk-home = / usr / Local / JDK --with-java-platform = 2 --with-jsdk = / usr / local / jsdk / lib / jsdk.jar #make #make install Compile Apache and Apache Jserv #CD ../apache_1.3.12 #. / configure --prefix = / usr / local / apache --activate-module = src / modules / jserv / libjServ.a #make #make install Run # / www / bin / httpd -l Check if mod_jserv compiles access to apache 2, dynamic compilation (DSO mode) #CD Apache_1.3.12 #. / Configure --prefix = / usr / local / apache --enable-shared = max #make #make install Configuration Apache JServ compilation parameter #CD ../apachejserv -1.1.2 #. / Configure --prefix = / usr / local / jserv --with-ap XS = / usr / local / apache / bin / apxs --with-jdk-home = / usr / local / jdk --with-java-platform = 2 --with-jsdk = / usr / local / jsdk / lib / JSDK.jar #make #make install If you want to use MOD_SSL, please join --with-EAPI option three, change the configuration file in /www/conf/httpd.conf Add include /usr/local/jServ/etc/jserv.conf If you use the DSO mode to install, please remove the comment in frontmodule jserv_module /usr/local/jserv/libexec/mod_jserv.so in jserv_module /usr_jserv.so, Test http: // Yourserver / Servlets / ISITWORKING See Yes It's working! you succeeded! ! You can change the SetHandler Jserv-Status Order Deny in JServ.conf, Allow Deny from All Add Your Trust Host Allow from XXXX this in the trust host via http: // yourver / jserv / (pay attention to this "/" can't be less ) You can see your Apache JServ configuration information.

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

New Post(0)