Quick How to install tomcat

# yum install yum-priorities

# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Install the JPackage Project repository.

# cd /etc/yum.repos.d/

# wget http://jpackage.org/jpackage50.repo

Install Java. We just used the openjdk that available via the repositories but if you prefer Sun JDK the download it and install it.

# yum install java

install dependency for the next step (to avoid Error: Missing Dependency: /usr/bin/rebuild-security-providers )

# rpm -i http://candrews.integralblue.com/wp-content/uploads/2009/07/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm


Install the Tomcat 6 RPM’s

# yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps

Finally lets start up the Tomcat 6 service

# service tomcat6 start

Browser to your newly installed Tomcat 6 Server (remember port 8080)


For Unix-compatible environments

Export the JAVA_HOME Environmental Variable (e.g., type

export JAVA_HOME=/usr/java/j2sdk1.4.1 in the terminal window).

Export the CATALINA_HOME Environmental Variable (e.g., type

export CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5 in the terminal



This is just a note complete instructions depend wildly on your preferences and sometimes a full make is required plus configuration is explained in the docs. will add a document here soon.


Write a Reply or Comment

Your email address will not be published.