Thursday, June 26, 2008

Install Apache Tomcat 5.5.26 on Fedora Core 6

Install the JDK on Fedora


1] Download tomcat Binary Distribution from http://tomcat.apache.org/download-55.cgi

2] Unzip and copy it /usr/local/

You will see directory structure similar like this

/usr/local/apache-tomcat-5.5.26

3] Now to set the environment variable CATALINA_HOME, JAVA_HOME and add it also in PATH

Open file “/root/.bashrc”

Append following three line.

export JAVA_HOME="/usr/java/jdk1.6.0_06"

export PATH=$PATH:/usr/java/jdk1.6.0_06/bin

export CATALINA_HOME=/usr/local/apache-tomcat-5.5.26

4] Now Start the Tomcat

/usr/local/apache-tomcat-5.5.26/bin/catlina.sh start

5 ] run the following URL in Browser.

http://localhost:8080/


No comments: