Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added additional step to configure access via SELinux to the 1085 port.

...

  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
    languagebash
    sudo curl -o /etc/yum.repos.d/wocommunity.repo https://raw.github.com/wocommunity/wonder/master/Utilities/Linux/wocommunity.repo
  3. Once it's done, you can use Yum to install wotaskd and JavaMonitor.

    Code Block
    languagebash
    sudo yum install wotaskd; sudo yum install womonitor;
  4. To install the module for Apache httpd 2.2, run:

    Code Block
    languagebash
    sudo yum install woadaptor

    for Apache httpd 2.4:

    Code Block
    languagebash
    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
    languagebash
    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.

And you're done! When the packages are installed, the services are started automatically. JavaMonitor will be running on port 56789. Your Project Wonder applications goes into /opt/Local/Library/WebObjects/Applications.

...