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

Overview

This document explains how to install mod_jk on CentOS.

Download

Download the latest Apache connectors:

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

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

Configure Apache

The following is an example config for mod_jk:

In httpd.conf:

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

In vhost:

JkMount /* worker1
  • No labels