先安装如下工具
?
[root@172 ~]# yum -y install apr-util-devel
?
[root@172 ~]# yum -y install httpd-devel
?
?切换到源码目录的native
[root@172 native]# ./configure --with-apxs=/usr/bin/apxs
?
[root@172 native]# make && make install
?
完成后可以在native/apache-2.0找到mod_jk.so
需要注意的是,mod_jk的版本是需要与tomcat的版本相对应的
tomcat-connectors-1.2.41-src? 这个1.2.41 对应着tomcat的2.41.x版本
?
?
?
原文:http://bewithme.iteye.com/blog/2288416