Skip to end of metadata
Go to start of metadata


Let's take a brief look at how to install TOMCAT. Let's install the TOMCAT 7 product.

Before installing the TOMCAT, Java Development Kit (JDK) or Java Runtime Environment (JRE) must be installed.

Downloading TOMCAT

Go to http://tomcat.apache.org/download-70.cgi site and download the recently released TOMCAT binary file (apache-tomcat-7.0.46.tar.gz).

Installing TOMCAT

Move the downloaded compressed file to FTP. (tomcat installation account)

Extract the uploaded compressed file to the appropriate directory. (tar xvzf apache-tomcat-7.0.56.tar.gz).

Because it is a binary, the installation is finished by extracting it.

<Example of tomcat installation>

Setting environment variables

Set the following environment variables.

1. CATALINA_HOME: Specify the directory where TOMCAT is installed.

2. JAVA_HOME or JRE_HOME: Specify the directory where JDK or JRE is installed.

3. PATH: Add the $CATALINA_HOME/bin directory (the path of the bin directory under the TOMCAT installation directory set in step 1) to the PATH.

 

<Example of Linux configuraiton>

Running TOMCAT

Execute the following command to start the TOMCAT.

Shutting TOMCAT down

Execute the following command to shutdown TOMCAT.

 



 


  • No labels