All the required packages should now be available in binary format. You can use yum to install them, you can do all the below in one big yum command, I'll split it out here for clarity.

First we need to get Java onto the machine, you'll need the SDK since Tomcat must compile servlets and JSPs.

yum install java-1.4.2-sun-devel-1.4.2.10

We will use RedHat's standard Apache 2.0 with mod_jk to talk to Tomcat, so first we install these two:

yum install httpd mod_jk-ap20

Tomcat 5.0 requires some crypto libs but Yum's own dependency resolution gets a bit confused here so we need to help it along by satisfying that dependency first:

yum install gnu-crypto-sasl-jdk1.4

Now we're ready to install Tomcat 5.0, this step will add a large number of dependencies to your machine therefore it can take quite some time depending on your network speed.

yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps

RedHat/Java/InstallPackages (last edited 2006-04-10 17:22:18 by azrael)