You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Baty <ba...@yahoo.com> on 2007/09/21 16:40:40 UTC

Basic Toimcat5.5 admin question

Hi guys,
I  finally got Tomcat5.5 going on Etch  AMD and  I start studying the  JSP developers guide but I get stuck in  the beginning.   The book says to create a  new directory under  ROOT but  I  don't have permission in my default account.  The  last  install I  did a  chgrp /user/share/tomcat5.5-webapps/ROOT www-data (this is the apache usser in Debian) but I screwed  the package up so  bad that I re-installed the system.   Could anyone tell me how the is typically  done?
Thanks.
Chris




       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

Re: Basic Toimcat5.5 admin question

Posted by Hassan Schroeder <ha...@gmail.com>.
On 9/21/07, Chris Baty <ba...@yahoo.com> wrote:

>   The book says to create a  new directory under  ROOT but  I
> don't have permission in my default account.  The  last  install
> I  did a  chgrp /user/share/tomcat5.5-webapps/ROOT www-data
> ... but I screwed  the package up so  bad that I re-installed the
> system.

The mind reels -- how could using `chgrp` "screw up the package"??
It's a basic sysadmin command...

> Could anyone tell me how the is typically  done?

Dunno about "typically" but I `chown` all my webapps folders to my
own userid; `chgrp` should work, if you prefer that. Or `su` to the id
of the folder owner.

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Basic Toimcat5.5 admin question

Posted by Pid <p...@pidster.com>.
Chris Baty wrote:
> Hi guys,
> I  finally got Tomcat5.5 going on Etch  AMD and  I start studying the  JSP developers guide but I get stuck in  the beginning.   The book says to create a  new directory under  ROOT but  I  don't have permission in my default account.  The  last  install I  did a  chgrp /user/share/tomcat5.5-webapps/ROOT www-data (this is the apache usser in Debian) but I screwed  the package up so  bad that I re-installed the system.   Could anyone tell me how the is typically  done?
> Thanks.

option 1: change to a user who does have permission
option 2: install tomcat somewhere your user has permission (see below)
option 3: read a linux manual*

it sounds alarmingly like you've installed an RPM or distribution of
some sort.  we generally don't recommend that, instead get a freshly
built, up to date release from tomcat.apache.org and unpack it in a
suitable directory.


p




* if you screwed a distribution by changing a permission on a dir I'd be
surprised, but then if you did that you ought to be doing a lot more
reading before you try again...





> Chris
> 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
> http://sims.yahoo.com/  


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org