1. Visit the following url for downloading:
http://tomcat.apache.org/download-60.cgi
(Currently, the latest is Tomcat 6.0.20)
2. Copy the downloaded file to /usr/local (or to into a directory or your choice)
cp apache-tomcat-6.0.20-src.tar.gz /usr/local/
3. Change the current directory
cd /usr/local/
4. Unzip/untar the file
tar -zxvf ./apache-tomcat-6.0.20-src.tar.gz
5. Edit the /etc/profile file
Open /etc/profile file by the following command
vim /etc/profile
Add the following entries at the end of /etc/profile file
CATALINA_HOME=/usr/local/apache-tomcat-6.0.20
export CATALINA_HOME
Save /etc/profile file by the following commands
Esc
Shift+ Collon
:qw
Enter
Monday, February 15, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment