| Beacon Hill, Inc. | Technology Solutions |
Home > Knowledge Base > Cygwin > Tomcat Setup
This is page documents the steps required to get Tomcat up and running. It assumes that you have downloaded and unzipped a Tomcat distribution and you are running on a Windows machine using Cygwin. This means you are interacting with your system through Cygwin using a Bash or similar shell.
Prerequisites
1. Have installed Java (see java-setup-tips.txt) 2. Downloaded and unpacked Tomcat
Running Tomcat
First, make sure you have Java installed and a valid $JAVA_HOME environment setting. (see java-setup-tips.txt).
Set CATALINA_HOME
There is a convention to set CATALINA_HOME to the tomcat installation directory. For example,
$ cd $CATALINA_HOME
Brad@BRAD-THINKPAD /cygdrive/c/home/brad/tools/apache-tomcat-6.0.14
With this you can run things in a somewhat conventional manner.
Start script
$ .$/CATALINA_HOME/bin/startup.sh
Verify
From a browser the following URL
http://localhost:8080
You should see an Apache Tomcat page