Compile and install mod_jkoncentOSinstallmod_jkoncentos1. check whether apxs is installed. & Quot;/usr/sbin/apxs & quot; 2. if not, install apxsa first. cd/etc/B. viyum. confc. if you have apacheorht... compile and install mod_jk on centOS install mod_jk on centos1. check whether apxs is installed. "/Usr/sbin/apxs" 2. if not, install apxs a first. cd/etc/B. vi yum. conf c. if there is a line like "exclude" of apache or httpd, comment it out. if not, exit directly. d. save and exit e. yum install apr-util-devel e. yum install httpd-devel f. after completing these steps, you should have the file "/usr/sbin/apxs. 3. compile mod_jk.so a. download the mod_jk source file: http://tomcat.apache.org/download-connectors.cgi Tomcat-connectors-1.2.37-src.tar.gz B. I downloaded it. tar xvf tomcat-connectors-1.2.37-src.tar.gz c. cd tomcat-connectors-1.2.37-src/native/d .. /buildconfig. sh e .. /configure -- with-apxs =/usr/sbin/apxs f. make 4. after compilation, there will be the mod_jk.so file, the address is tomcat-connectors-1.2.37-src/native/apache-2.0/mod_jk.so 5. cd tomcat-connectors-1.2.37-src/native/apache-2.0/6. cp mod_jk.so/usr/local/apache/modules [this step is to copy mod_jk.so to you In the apache modules Directory, your modules directory may not be this] 7. then you can use apache to load.
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.