Step 9: Setup Apache Tomcat:
You can download the latest version of Tomcat from
http://tomcat.apache.org/. Once you downloaded the
installation, unpack the binary distribution into a
convenient location. For example in C:\apache-tomcat-6.0.33 on
windows, or /usr/local/apache-tomcat-6.0.33 on Linux/Unix
and set CATALINA_HOME environment variable pointing to
the installation locations.
Tomcat can be started by executing the following commands
on windows machine, or you can simply double click on startup.bat
%CATALINA_HOME%\bin\startup.bat
or
C:\apache-tomcat-6.0.33\bin\startup.bat
Tomcat can be started by executing the following commands
on Unix (Solaris, Linux, etc.) machine:
$CATALINA_HOME/bin/startup.sh
or
/usr/local/apache-tomcat-6.0.33/bin/startup.sh
After a successful startup, the default web applications
included with Tomcat will be available by visiting
http://localhost:8080/. If everything is fine then it
should display following result:
Further information about configuring and running
Tomcat can be found in the documentation included here,
as well as on the Tomcat web site: http://tomcat.apache.org
Tomcat can be stopped by executing the following commands on windows machine:
%CATALINA_HOME%\bin\shutdown
or
C:\apache-tomcat-5.5.29\bin\shutdown
Tomcat can be stopped by executing the following commands
on Unix (Solaris, Linux, etc.) machine:
$CATALINA_HOME/bin/shutdown.sh
or
/usr/local/apache-tomcat-5.5.29/bin/shutdown.sh