From charlesreid1

(Created page with "=Installation= Download Apache Tomcat binary: <source lang="bash"> $ wget http://apache.cs.utah.edu/tomcat/tomcat-7/v7.0.27/bin/apache-tomcat-7.0.27.tar.gz </source> Since y...")
 
No edit summary
Line 26: Line 26:
</source>
</source>


To test that Tomcat is working, go to [http://localhost:8080]
To test that Tomcat is working, go to http://localhost:8080

Revision as of 02:09, 8 June 2012

Installation

Download Apache Tomcat binary:

$ wget http://apache.cs.utah.edu/tomcat/tomcat-7/v7.0.27/bin/apache-tomcat-7.0.27.tar.gz

Since you don't have to build it, you don't have to do much else.

You'll need to set the CATALINA_HOME environment variable to be whatever path you extracted Tomcat into:

$ export CATALINA_HOME="/path/to/apache-tomcat-7.0.27"

Running

To run the Tomcat server, you'll use the start.sh script in the bin directory:

$ cd /path/to/apache-tomcat-7.0.27

$ ./bin/start.sh &

To test that Tomcat is working, go to http://localhost:8080