Once the Apache HTTP Server is installed for example in: /usr/local/apache2 directory.
To install mod_jk module in Apache HTTP Server:
- Download Apache Tomcat Connector version 1.2.41 from Apache Tomcat Connector website (tomcat.apache.org)
- Unzip the file tomcat-connectors-1.2.41-src.tar.gz into /tmp directory
- Navigate to directory /tmp/tomcat-connectors-1.2.41-src/native
- Run the command LDFLAGS=-lc ./configure -with-apxs=/usr/local/apache2/bin/apxs
- Run the command make
- Run the command cp ./apache-2.0/mod_jk.so /usr/local/apache2/modules
The file
mod_jk.so will be available in the directory
/usr/local/apache2/modules To then configure
mod_jk refer to Article: