Monday, January 22, 2007

Tomcat Installation

Steps in installation of Apache Tomcat 6.0.7

1. Download apache-tomcat -6.0.7.tar.gz

Source:
http://tomcat.apache.org/download-60.cgi

2. Extract the tar file

3. Configuration

Set path. Type:
vi /etc/profile
Type this two lines:
export CATALINA_HOME=/Softwares/tomcat/apache-tomcat-6.0.7
export PATH=$CATALINA_HOME/bin:$PATH

4. Testing

Start the tomcat sever
Run startup.sh (/tomcat/apache-tomcat-6.0.7/bin)
Open the browser. Type:
http://localhost:8080
If you are getting the index.html file then apache is successfully installed.

No comments: