The Basics - What is mod_jk?
The mod_jk connector is an Apache HTTPD module that allows HTTPD to communicate with Apache Tomcat instances over the AJP protocol.
Steps:
1. Download the latest apache connector from http://tomcat.apache.org/download-connectors.cgi.
2. Untar the download by
tar zxvf <filename>
3. Goto native directory of connector
cd <connector dir>/native/
4. Run the buildconf.sh scripts
./buildconf.sh
Note: If you get any issue like "autocong" not installed then install following things:
yum install autoconf
yum install libtool
5. You need "httpd-devel" tools to build it. So make sure you have already installed it by
yum list installed | grep httpd-devel else install it "yum install httpd-devel"
6. From the native directory Run
./configure --with-apxs=/usr/sbin/apxs
make
Congrats!! Now you can see the mod_jk.so module under your native directory.
No comments:
Post a Comment