"Fossies" - the Fresh Open Source Software Archive

Member "apache-tomcat-8.5.58/webapps/docs/appdev/installation.html" (10 Sep 2020, 4910 Bytes) of package /windows/www/apache-tomcat-8.5.58-windows-x86.zip:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

Installation

Installation

In order to use Tomcat for developing web applications, you must first install it (and the software it depends on). The required steps are outlined in the following subsections.

JDK

Tomcat 8.5 was designed to run on Java 7 or later.

Compatible JDKs for many platforms (or links to where they can be found) are available at http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Tomcat

Binary downloads of the Tomcat server are available from https://tomcat.apache.org/. This manual assumes you are using the most recent release of Tomcat 8. Detailed instructions for downloading and installing Tomcat are available here.

In the remainder of this manual, example shell scripts assume that you have set an environment variable CATALINA_HOME that contains the pathname to the directory in which Tomcat has been installed. Optionally, if Tomcat has been configured for multiple instances, each instance will have its own CATALINA_BASE configured.

Ant

Binary downloads of the Ant build tool are available from https://ant.apache.org/. This manual assumes you are using Ant 1.8 or later. The instructions may also be compatible with other versions, but this has not been tested.

Download and install Ant. Then, add the bin directory of the Ant distribution to your PATH environment variable, following the standard practices for your operating system platform. Once you have done this, you will be able to execute the ant shell command directly.

CVS

Besides the required tools described above, you are strongly encouraged to download and install a source code control system, such as the Concurrent Version System (CVS), to maintain historical versions of the source files that make up your web application. Besides the server, you will also need appropriate client tools to check out source code files, and check in modified versions.

Detailed instructions for installing and using source code control applications is beyond the scope of this manual. However, CVS server and client tools for many platforms (along with documentation) can be downloaded from http://www.cvshome.org/.