Versions Compared


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


  1. Install a JDK. You can install openjdk with Yum (yum install java-1.6.0-openjdk) or get the JDK from Oracle.
  2. Install the Yum repository of the WOCommunity like this:

    Code Block
    sudo curl -o /etc/yum.repos.d/wocommunity.repo

  3. Once it's done, you can use Yum to install wotaskd and JavaMonitor.

    Code Block
    sudo yum install wotaskd; sudo yum install womonitor;

  4. To install the module for Apache httpd 2.2, run:

    Code Block
    sudo yum install woadaptor

    for Apache httpd 2.4:

    Code Block
    sudo yum install woadaptor-httpd24

  5. If SELinux is enabled on your system, wotaskd won't be reachable due to its preventing Apache from opening TCP connections. If you're comfortable with allowing Apache to connect to any TCP ports (including external hosts), you can run the following:

    Code Block
    sudo setsebool -P httpd_can_network_connect=1


    Alternatively, Steven Klassen has written a blog post (Custom SELinux Port Access) that outlines how to create and install a wotaskd SELinux module that specifically allows connections to port 1085.


Code Block
titleCompiling Apache 2.4 WebObjects Adaptor
$ sudo yum install httpd httpd-devel 
$ #I had to use: sudo yum install httpd24 httpd24-devel
$ # get the latest wonder source
$ git clone
$ cd wonder/Utilities/Adaptors
$ # thanks to alextu for these commands to fix the make.config file
$ # (from his docker recipe)
$ sed -ri 's/ADAPTOR_OS = MACOS/ADAPTOR_OS = LINUX/g' make.config
$ sed -ri 's/ADAPTORS = CGI Apache2.2/ADAPTORS = Apache2.4/g' make.config
$ make
$ # move the compiled module to the modules directory (check your apache config
 If you get error about make not found, install dev tools
$  sudo yum install gcc make
$ # If you get error about redhat-hardened-cc1: No such file or directory
$  sudo yum install redhat-rpm-config
# #
$ # but the default on CentOS7 is /usr/lib64/httpd/modules
$ sudo cp Apache2.4/ /usr/lib64/httpd/modules/


titleFirewallD Cheat Sheet

getting help on the command line: # firewall-cmd --help

checking the state of the firewall: # firewall-cmd --state

panic: firewall-cmd --panic-on

stop panic: # firewall-cmd --panic-off

set a service to a zone for runtime (not persistent) : firewall-cmd --zone=public --add-service=https

set a service to a zone permanently: firewall-cmd --permanent --zone=public --add-service=https

setup specific ports (like for WO instances) firewall-cmd --zone=public --permanent --add-port=2000-2020/tcp

reload the configuration: firewall-cmd --reload

find out what services the zone thinks should be handled at runtime (or permanently) : # firewall-cmd (–permanent) --zone=public --list-services

go nuts and specify rules to within an inch of their lives: # firewall-cmd --permanent --zone=public --add-rich-rule="rule family="ipv4" source address="" service name="http" accept"



As is mentioned in,+CentOS+or+Amazon+Linux,
you can open up apache to network connections using the command: