William H. Magill on 13 Apr 2005 18:37:45 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] linux best practices


On 13 Apr, 2005, at 02:31, Len Pikulski wrote:
We have found that different distributions have different "home" areas for applications.

Backups are at least /etc, /home, /var/log (on important servers), /var/spool/mail (on mail servers), etc.......

This is much more the truth than folks would like to believe.

While there are preferred locations, as Dan pointed out, unless you are running a large site and enforcing your own standards, the probabilities that "everything" will wind up there is low.

In the early days of the net (ARPAnet, NSFnet etc.) software packages were independent items.
They also tended to be standalone and did not integrate or require integration with "other software."


/usr/local used to be where you installed everything that didn't come from the OS vendor.
It was its own tree containing "bin, lib, etc, usr" and so on directories.


Then came the divergence of platforms and centralized serving, so you found /var come into play for the storage of things unique to a specific platform - config files, log files, and so on.

With the rise of "systems" of packages (typically "ports" to a platform) in recent years, the
original locations were consolidated into another tree.


Some vendors (notably sun) started with /opt as the location for "optional packages" -- software supplied (i.e. ported) by the vendor to this particular OS level, but not required to be installed as part of the basic OS install.

Most BSD derivatives have a "man hier" page which describes their file system "defaults" -- however, they tend to be more the "ideal" than the "reality."


T.T.F.N. William H. Magill # Beige G3 [Rev A motherboard - 300 MHz 768 Meg] OS X 10.2.8 # Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.3.8 # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a # XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3 # XP1000 [Alpha 21264-A (EV 6.7) - 384 meg] FreeBSD 5.3 magill@mcgillsociety.org magill@acm.org magill@mac.com whmagill@gmail.com

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug