Page 1 of 1

How to install mod_jk on centos

Posted: Sun Apr 28, 2013 12:56 pm
by a24uall
You need apxs installed and if not run
yum install apr-util-devel
yum install httpd-devel
You should see apxs under /usr/sbin/apxs
-rwxr-xr-x 1 root root 22029 Feb 22 06:19 /usr/sbin/apxs
Download the tomcat connector from
http://tomcat.apache.org/download-connectors.cgi
wget http://apache.cs.utah.edu//tomcat/tomca ... src.tar.gz
tar -xzvf tomcat-connectors-1.2.37-src.tar.gz
cd tomcat-connectors-1.2.37-src
cd native
./buildconfig.sh
./configure --with-apxs=/usr/sbin/apxs
If you dont see make command after that, run
yum install make
Then rerun the configure command
./configure --with-apxs=/usr/sbin/apxs
make
make install