Child pages
  • Install mod_jk on CentOS

Versions Compared

Key

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

Overview

This document explains how to install mod_jk on CentOS.

Download

Download the latest Apache connectors:

Code Block
http://tomcat.apache.org/connectors-doc/

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
make
sure make install

Configure Apache

The following is an example config for mod_jk:

In httpd.conf:

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

In vhost:

Code Block
JkMount /* worker1