Page tree

Versions Compared

Key

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

In Ubuntu, using apt-get to install mod_jk is really easy. However, sometimes I need to do this with alternative operating systems such as Solaris.

For this manual process, where possible I try to follow the conventions established by the Ubuntu community.

Obtain mod_jk

If you are not using Ubuntu apt-get or simply want to use the newest mod_jk you can to the Apache Tomcat site. The version we want for the Slice server is as follows,

  • Binary version
  • Linux
  • x86_64
  • httpd-2.2.X

For our configuration we would be downloading, mod_jk-1.2.28-httpd-2.2.X.so and dropping it into the apache modules folder,

Code Block
languagebash
sudo mv mod_jk-1.2.28-httpd-2.2.X.so /usr/lib/apache2/modules/ # Make the module available to Apache2

Load mod_jk into Apache

To load mod_jk into Apache we must perform the following.

Create jk.load

Create mod_jk.load also in /etc/apache2/mods-available,

Code Block
langxml
LoadModule jk_module /usr/lib/apache2/modules/mod_jk-1.2.28-httpd-2.2.X.so

Create the corresponding .conf and .load files in /etc/apache2/mods-available.

There are still a few more steps. Go back and continue reading from Enable mod_jk of Apache Tomcat Connector.