You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gianni Pucciani <gp...@tin.it> on 2004/04/07 09:43:07 UTC

secure installation

Hi all,
I'm about to install Tomcat under RH9 and I'm not sure about the best 
path installation and way to start, as regards the security.
It is advisable create a new user "tomcat" and install in /home/tomcat?
And about the way to start automatically? A simple script in init.d 
directory could work well?
Thanks

Gianni


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: secure installation

Posted by Gianni Pucciani <gp...@tin.it>.
Parsons Technical Services wrote:

>Gianni,
>
>>>From my experience:
>
>User tomcat is created for you.
>
>Place it in whatever directory makes sense to you.(Keep it simple)
>
>Keep the permissions on the tomcat directories tight. Make them only
>readable by tomcat etc.
>  
>
Ok, thanks!

Gianni

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: secure installation

Posted by Parsons Technical Services <pa...@earthlink.net>.
Gianni,

>From my experience:

User tomcat is created for you.

Place it in whatever directory makes sense to you.(Keep it simple)

Keep the permissions on the tomcat directories tight. Make them only
readable by tomcat etc.

If you need port 80 and 443 start tomcat as a daemon. For details:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html

If not, you can use the startup.sh script in the /bin directory. For
details:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/introduction.html

If you are going to connect to Apache then build Apache yourself or at
minimum add the development rpm, as you will need some components of it
(APR) to build the jk2 connector (not included in the standard Apache
install on RedHat). Advice: read about connector first, then do installs.
For details:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html

Have fun!

Doug
www.parsonstechnical.com


----- Original Message ----- 
From: "Gianni Pucciani" <gp...@tin.it>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, April 07, 2004 3:43 AM
Subject: secure installation


> Hi all,
> I'm about to install Tomcat under RH9 and I'm not sure about the best
> path installation and way to start, as regards the security.
> It is advisable create a new user "tomcat" and install in /home/tomcat?
> And about the way to start automatically? A simple script in init.d
> directory could work well?
> Thanks
>
> Gianni
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org