Sunday, 22 May 2011

Install mod_jk (Tomcat connector for Apache HTTPD, Apache Tomcat)

This is one of the easiest things to do and one of the worst explained in the tutorial history.
We will do it together in 5 minutes or so.

Download mod_jk
yum install httpd-devel
tar -xzf tomcat-connectors-1.2.31-src.tar.gz
rm -f tomcat-connectors-1.2.31-src.tar.gz
mv tomcat-connectors-1.2.31-src /opt

Install mod_jk
cd /opt/tomcat-connectors-1.2.31-src/native
./configure --with-apxs=/usr/sbin/apxs
make install

Now you have mod_jk installed but you’re not done with it.
You will have to configure it. This is also very easy.
Let’s configure mod_jk now!

No comments:

Post a Comment