A quick tutorial for middleware products



Tomcat is java application server.
Tomcat is a popular because it is open source (free) application server.


  • How to install and configure Tomcat in Linux system
1)  Prerequisites & System requirements:- 
   We will need to have a Java 2 SDK or more updated version installed.
   This document is based on   the IBM Java 2 SDK v 1.4.1. With Tomcat 5 or more updated version
   Get the 2.6 Linux kernel.

2)  Download and run the installer:- 
You can find the Tomcat binaries at : http://jakarta.apache.org/site/binindex.cgi. Scroll to the bottom of the page to find the links for Tomcat 5.x, 4.x and the web server connectors.
With Tomcat 5, there are now 7 files available for download. If you are running Linux/UNIX, the package you are looking for is the tarball, which at the time of this writing is 5.0.18 tar.gz. Click on the link and your download should start automatically.


# cp /home/someuser/downloads/jakarta-tomcat-5.x.xx.tar.gz /opt
# tar -zxvf jakarta-tomcat-5.x.xx.tar.gz
or
# ln -s jakarta-tomcat-5.0.25 tomcat
 3) Setting up env variables:-
export JAVA_HOME=/opt/IBMJava2-141
export CATALINA_HOME=/opt/tomcat     
4) Starting and Stopping Tomcat
 # $CATALINA_HOME/bin/startup.sh
 # $CATALINA_HOME/bin/shutdown.sh 

0 comments:

Post a Comment