This was written for RedHat Application Server 1.0. There may be new versions of the rpms listed, so you might need to translate the version number from what is listed here. I'm assuming that you're using the RedHat Network to get these packages. That should help you when it comes to getting all the dependencies.

These instructions have you installing software from multiple channels. If your server was not previously subscribed to one or both of these chanels, make sure that you have rhn update the package list for the server after you've added the subscriptions to these channels.

Packages to Install from Red``Hat Application Server Channel

One big caveat is that the version of ant that comes from RedHat throws an error when you try to build the nutch war file. I suggest installing ant manually. I've added some instructions for doing that further down.

Packages to Install from Extras Channel

This assumes you want to use IBM's Java.

Replacing Ant

When I tried to build the nutch war file using the ant rpm listed above I got errors about "XslpLiaison". In the end I installed ant from scratch and got it to work for me. Here's what I did:

  1. Download the ant source from http://ant.apache.org/

  2. Verify the version you downloaded is legit (they offer pgp and other signatures).
  3. Extract the package and copy it to /usr/share (creating /usr/share/apache-ant-[version]).
  4. Replace the original version of ant with the fresh one. As root:
    1. cd /usr/bin
    2. mv ant ant_orig
    3. ln -s /usr/share/apache-ant-1.6.5/bin/ant ./
    4. mv /etc/ant.conf /etc/ant.conf_rpm_orig

Now you can download nutch (see DownloadingNutch) and run through the tutorial (http://lucene.apache.org/nutch/tutorial.html). One thing to note is that you'll want to put the segments directory under /usr/share/tomcat5. Once it's there, you can start tomcat with the command "service tomcat5 start".

<<< FrontPage

GettingNutchRunningWithRedHatApplicationServer (last edited 2009-09-20 23:09:50 by localhost)