[66] | 1 | <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide - Installation</title><meta value="Craig R. McClanahan" name="author"><meta value="craigmcc@apache.org" name="email"><meta value="Yoav Shapira" name="author"><meta value="yoavs@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="0" width="100%" border="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt=" |
---|
| 2 | The Apache Tomcat Servlet/JSP Container |
---|
| 3 | " align="right" src="../images/tomcat.gif"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="../images/asf-logo.gif"></a></td></tr></table><table cellspacing="4" width="100%" border="0"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><tr><!--LEFT SIDE NAVIGATION--><td nowrap="true" valign="top" width="20%"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>Application Developer's Guide</h1><h2>Installation</h2></td><td nowrap="true" valign="top" align="right"><small><a href="printer/installation.html"><img alt="Printer Friendly Version" border="0" src="../images/printer.gif"><br>print-friendly<br>version |
---|
| 4 | </a></small></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 5 | |
---|
| 6 | <p>In order to use Tomcat 6 for developing web applications, you must first |
---|
| 7 | install it (and the software it depends on). The required steps are outlined |
---|
| 8 | in the following subsections.</p> |
---|
| 9 | |
---|
| 10 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="JDK"><strong>JDK</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 11 | |
---|
| 12 | <p>Tomcat 6.0 was designed to run on J2SE 5.0. |
---|
| 13 | </p> |
---|
| 14 | |
---|
| 15 | <p>Compatible JDKs for many platforms (or links to where they can be found) |
---|
| 16 | are available at |
---|
| 17 | <a href="http://java.sun.com/j2se/">http://java.sun.com/j2se/</a>.</p> |
---|
| 18 | |
---|
| 19 | </blockquote></td></tr></table> |
---|
| 20 | |
---|
| 21 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Tomcat"><strong>Tomcat</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 22 | |
---|
| 23 | <p>Binary downloads of the <strong>Tomcat</strong> server are available from |
---|
| 24 | <a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a>. |
---|
| 25 | This manual assumes you are using the most recent release |
---|
| 26 | of Tomcat 6. Detailed instructions for downloading and installing |
---|
| 27 | Tomcat 6 are available <a href="../setup.html">here</a>.</p> |
---|
| 28 | |
---|
| 29 | <p>In the remainder of this manual, example shell scripts assume that you have |
---|
| 30 | set an environment variable <code>CATALINA_HOME</code> that contains the |
---|
| 31 | pathname to the directory in which Tomcat 6 has been installed. Optionally, if |
---|
| 32 | Tomcat has been configured for multiple instances, each instance will have its |
---|
| 33 | own <code>CATALINA_BASE</code> configured.</p> |
---|
| 34 | |
---|
| 35 | </blockquote></td></tr></table> |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Ant"><strong>Ant</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 39 | |
---|
| 40 | <p>Binary downloads of the <strong>Ant</strong> build tool are available from |
---|
| 41 | <a href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</a>. |
---|
| 42 | This manual assumes you are using Ant 1.4 or later. The instructions should |
---|
| 43 | also be compatible with later versions, but this has not been tested.</p> |
---|
| 44 | |
---|
| 45 | <p>Download and install Ant from the distribution directory mentioned above. |
---|
| 46 | Then, add the <code>bin</code> directory of the Ant distribution to your |
---|
| 47 | <code>PATH</code> environment variable, following the standard practices for |
---|
| 48 | your operating system platform. Once you have done this, you will be able to |
---|
| 49 | execute the <code>ant</code> shell command directly.</p> |
---|
| 50 | |
---|
| 51 | </blockquote></td></tr></table> |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="CVS"><strong>CVS</strong></a></font></td></tr><tr><td><blockquote> |
---|
| 55 | |
---|
| 56 | <p>Besides the required tools described above, you are strongly encouraged |
---|
| 57 | to download and install a <em>source code control</em> system, such as the |
---|
| 58 | <strong>Concurrent Version System</strong> (CVS), to maintain historical |
---|
| 59 | versions of the source files that make up your web application. Besides |
---|
| 60 | the server, you will also need appropriate client |
---|
| 61 | tools to check out source code files, and check in modified versions.</p> |
---|
| 62 | |
---|
| 63 | <p>Detailed instructions for installing and using source code control |
---|
| 64 | applications is beyond the scope of this manual. However, CVS server and |
---|
| 65 | client tools for many platforms (along with documentation) can be downloaded |
---|
| 66 | from <a href="http://www.cvshome.org">http://www.cvshome.org</a>.</p> |
---|
| 67 | |
---|
| 68 | </blockquote></td></tr></table> |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em> |
---|
| 72 | Copyright © 1999-2008, Apache Software Foundation |
---|
| 73 | </em></font></div></td></tr></table></body></html> |
---|