It is not running yet.

There are a few things.

1/I already have apache running on port 80. If I start the tomcat service, I
think it will probably start on port 80 as well. Will it not clash?

2/ I have setup the following environment variables
JAVA_HOME=/usr/lib/jvm/java
CATALINA_HOME = /usr/share/tomcat5
 PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
chown -R tomcat /usr/share/tomcat5
 ln -s /usr/share/tomcat5 /usr/share/tomcat

I will be adding the first 4 variables to the profile file.

3/ if I run the startup command for tomcat, it will start the service as
root. It should be started as non privileged user on everystartup. I have
seen some links on that, which I will read and follow.

4/ Is there anything else that should be done to setup tomcat?

thanks.


On Wed, Mar 10, 2010 at 2:58 PM, André Warnier <a...@ice-sa.com> wrote:

>  testwreq wreq wrote:
>
>> Hello, I do not know much on setting up tomcat on linux. I am new to both.
>>
>> However, I ran yum install tomcat5 to install tomcat from centos5 built. I
>> could see the version with the below command.
>>
>> # /etc/init.d/tomcat5 version
>> Server version: Apache Tomcat/5.5.23
>> Server built:   Jul 27 2009 05:23:29
>> Server number:  5.5.23.0
>> OS Name:        Linux
>> OS Version:     2.6.18-128.1.10.el5
>> Architecture:   i386
>> JVM Version:    1.6.0-b09
>> JVM Vendor:     Sun Microsystems Inc.
>> I need help to proceed further. Please guide me how to set-up TOMCAT on
>> centos5?  The base installation, I think is located in /user/share/tomcat5
>> and I see java in /usr/bin/jvm
>>
>> Please help.
>>
>> Well, according to what it says above, you are done. That's the nice part
> about these packages.  Tomcat is installed, and probably running. So what
> else do you need ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to