Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I often have to do this on Solaris or alternative operating systems so the manual process of installing mod_jk is good to have handy.

Enable mod_jk

In Ubuntu it is very easy to enable a moduleThe installer will also enable the modules in Apache essentially running below command for you,

Code Block
languagebash
sudo a2enmod jk
sudo /etc/init.d/apache2 restart # enable the change

This basically creates symbolic links for you in the /etc/apache2/mods-enabled directory. The two symbolic links will be,

...

Code Block
languagebash
sudo apache2ctl -lM Compiled| ingrep modules:jk
# result,
core.c
  mod_log_config.c
  mod_logio.c
  worker.c
  http_core.c
  mod_so.c

...

 jk_module (shared)

jk_module in the resulting output shows that the module loaded properly.

...