Book Image

Wildfly Cookbook

Book Image

Wildfly Cookbook

Overview of this book

Table of Contents (23 chapters)
WildFly Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Installing and configuring mod_cluster for Apache


In this recipe, we will learn how to install and configure mod-cluster within your Apache HTTPD installation. This recipe requires a working Apache HTTPD and it assumes that its installation directory is /opt/httpd. If you do not have Apache installed in your environment, please follow the instructions in the previous recipe.

Getting ready

  1. First of all, download mod-cluster modules from the following site http://mod-cluster.jboss.org/downloads/1-2-6-Final-bin.

  2. Download all the software into the /opt/httpd/modules folder.

  3. If you prefer, you can install mod_cluster via your OS package manager which, in a Fedora-like system, is as follows:

    sudo yum install mod_cluster

How to do it…

  1. Once the download is complete, open a terminal and execute the following commands:

    $ cd /opt/httpd/modules
    $ tar zxvf mod_cluster-1.2.6.Final-linux2-x64-so.tar.gz
    mod_advertise.so
    mod_manager.so
    mod_proxy_cluster.so
    mod_slotmem.so

    Now that we have all the software unpacked...