Well, I guess the RedHat RPM stuff can go where ever, but here's my
experience:
I work on multiple platforms and it's a little hard sometimes to keep up.
I setup Apache on a SPARC box using the same locations that Sun uses:
/var/apache/logs
cgi-bin
icons
proxy
/etc/apache (conf)
/usr/local/bin (apache bin)
It's been a lot harder to keep up with than the standard apache(which is all
I do now):
/usr/local/apache/bin
logs
conf
...
I think you should use /usr/local/tomcat for all dirs and let admins
sym link if they want different, or allow path changes in config files.
If every platform is done it's own way, it will add to the confusion.
My /usr/local is actually a sym to /opt/local most of the time.
It also makes it easier to help people on the DL troubleshoot, since
they don't always give you their platform or config info.
Mike.
--
Mike Braden
CNE, MCP+I, MCSE, CCNA, Sun Comp 2k Enterprise & E10k
[EMAIL PROTECTED]
-----Original Message-----
From: Guillaume Rousse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 3:04 PM
To: [EMAIL PROTECTED]
Subject: Tomcat file locations on Unix
Hello.
After discussing a bit the subject with Henry Gomez, he thought it was best
to bring the discussion here. His current rpm uses /var/tomcat as a base
directory, after propositions coming from this list.
However, actual FHS spec says :
"Applications should generally not add directories to the top level of
/var. Such directories should only be added if they have some system-wide
implication, and in consultation with the FHS mailing list."
>From what i'm seeing on my own system (Mandrake 7.2), general services
(ftp, www, etc) have their own
/var/name dir, while specific applications (postgres, wine, etc...) have
their /var/lib/name dir.
So, what can we do for Tomcat ?
If we think of tomcat as a stand-alone service, then data dirs (work and
webaps) should be in /var/lib/tomcat, conf dir should be /etc/tomcat
(problem : tomcat also writes here...), and log dir /var/log/tomcat.
We can also think of Tomcat as a www-related service, then use /var/www,
/etc/httpd/conf and /var/log/httpd, or with a specific tomcat subdir
/var/www/tomcat, /etc/httpd/conf/tomcat and /var/log/httpd/tomcat.
Guillaume
--
Program results should always be reproducible
-- Educational Considerations n°5
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]