Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i was wondering if anyone can give me a plausible rationale why the yum tomcat installation makes more mess over system directories than a possum shot at a short range with a sawed off shotgun ?
i am spending my whole day getting used to where different components are. i mean, why can't the ENTIRE package, everything in it, be under a SINGLE directory, e.g. /env/tomcat and under it have conf, bin, webapps, etc. rather than this:
could they have made it more complex ? if you just download the tar.gz and do make, it installs it all in one directory, provided you don't change the default settings. however, my boss says that yum uses the "standard" configuration and we should use that to avoid deviating from the norms for the sake of future maintenance.
can someone please rationalize why my life has, all of the sudden, become so much more complicated than having it all under the same directory ???
It actually makes perfect sense why it is installed where it is... Read up on some of these base directory paths and you'll quickly understand too.
start with /var/lib; /usr/bin; /usr/lib; /usr/share; /etc; /etc/rc.d
Each is for a mostly for a particular component of an application and once you understand it's purpose, you'll understand the whole picture better. Good luck
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
'rpm -ql tomcat5' will print a file list in the terminal.
( You will not have to use 'find' for this, there is a
dedicated command for every task in Linux.)
'rpm -ql tomcat5 > tomcat5_files.txt' will make a text file
in /home/foampile/
The file structure is standard Unix / Linux invented 40 years
ago, to make the perfect OS. ( With some modifications along )
There are very god reasons, that files are placed, where they are.
And why have files in one directory, think of the mess in
Windows !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.