Child pages
  • Install mod_jk on CentOS
Skip to end of metadata
Go to start of metadata


This document explains how to install mod_jk on CentOS.


Download the latest Apache connectors:

Install Supporting Tools

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

sudo yum -y install httpd-devel

Install mod_jk

Untar/gz the download, and do the following:

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:

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

In vhost:

JkMount /* worker1
  • No labels