Child pages
  • Install mod_jk on CentOS

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Table of Contents


This document explains how to install mod_jk on CentOS.


Download the latest Apache connectors:

Code Block

Install Supporting Tools

If the httpd-devel tools are not installed, install them first:

Code Block
sudo yum -y install httpd-devel

Install mod_jk

Untar/gz the download, and do the following:

Code Block
cd native/
./configure --with-apxs=/usr/sbin/apxs
sure make install

Configure Apache

The following is an example config for mod_jk:

In httpd.conf:

Code Block
LoadModule jk_module modules/
JkWorkersFile conf.d/
JkLogFile logs/mod_jk.log
JkLogLevel debug

In vhost:

Code Block
JkMount /* worker1