At 1:56 PM -0500 11/20/01, Sergey Snovsky wrote:
>Hello!
>
>I'd like to ask some advice on how to best run Tomcat on Linux -- 
>how can I make Tomcat start
>at the init time (possibly using chkconfig or something similar) and 
>how do I make Tomkat run as the Tomcat user/group -- what files 
>under Tomcat distribution should be owned by whom?
>
>Thank you very much for any help!
>
>Sergey

Install the RPM files as root:

# rpm --install tomcat4-4.0.1-1.noarch.rpm
# rpm --install tomcat4-webapps-4.0.1-1.noarch.rpm

The first RPM contains the server software, the second contains the
applications that are installed by default for the other distribution formats.
The installation process will create a new user "tomcat4" to be used for
running Tomcat.  (It also creates a tomcat4 group.)

Then edit /etc/tomcat4/conf/tomcat4.conf to set JAVA_HOME to the pathname
of your Java SDK.

Change directory into /etc/rc.d/init.d.  You'll find a script "tomcat4"
that can control Tomcat's startup at boot time.  It needs to be activated:

# chkconfig --add tomcat4

If you like, use the tomcat4 script to start up Tomcat manually:

# ./tomcat4 start

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to