Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes InStall Tomcat 5.0.28 on Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "InStall Tomcat 5.0.28 on Linux" Watch "InStall Tomcat 5.0.28 on Linux" New topic
Author

InStall Tomcat 5.0.28 on Linux

Khirod Patra
Greenhorn

Joined: Mar 27, 2008
Posts: 23
Hi,
I am new to UBUNTU Linux, I want to install tomcat 5.0.28 or any related version.I have installed java 1.6. my Directory structure of jdk is :-
/usr/java/jdk1.6.0_05/bin. I have also download the file jakarta-tomcat5.0.28 and apache-tomcat5.5.26,

what are the steps to install tomcat? and In the above downloaded tomcat files which is the Good one.

Regards
Khirod Patra
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Untar tomcat.
Set your JAVA_HOME environment variable.
Run the startup.sh script in tomcat/bin.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Khirod Patra
Greenhorn

Joined: Mar 27, 2008
Posts: 23
Thanks for the replay, I have tried the above step,but after restart the machine , again it ask for the JAVA_HOME path...

Any One please give the complete steps again to instal Tomcat..

Regards
Khirod patra
Zemian Deng
Greenhorn

Joined: Jun 12, 2007
Posts: 21
Then you again haven't follow the complete instruction :-)

$ export JAVA_HOME=/usr/java/jdk1.6.0_05 #without the bin

then untar tomcat like this:

$ tar zxvf jakarta-tomcat5.0.28.tgz

then you can cd into tomcat
$ cd jakarta-tomcat5.0.28/bin && startup.sh

If you want better help, past the error you are getting on what steps.
Zemian Deng
Greenhorn

Joined: Jun 12, 2007
Posts: 21
Also, the latest release is Tomcat6, not 5.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Khirod Patra:
Thanks for the replay, I have tried the above step,but after restart the machine , again it ask for the JAVA_HOME path...

Any One please give the complete steps again to instal Tomcat..

Regards
Khirod patra


How did you set your JAVA_HOME environment variable?
Did you test it? How?
 
GeeCON Prague 2014
 
subject: InStall Tomcat 5.0.28 on Linux