Re: Directory Conventions for Utilities?

From: Alan Vidmar (Alan.Vidmar@COLORADO.EDU)
Date: Tue Apr 15 2003 - 14:37:27 EDT


Tim,

Let me expand on this a bit more, because I think its really
important to realize what your options are for utilities.

First off, a small rant about AIX v5.1, I never asked for /opt to be
installed, and most of the utilities installed are so far behind
version wise that they are mostly useless.

That said, I remove all utilities in /opt and the filesystem as well.

Then I create a "local" logical volume and file system, and mount
it off of the root.

#mklv -y'lv00' rootvg 20 hdisk0
#crfs -v jfs -d'lv00' -m'/local' -A''`locale yesstr | awk -F: '{print $1}'`''
-p'rw' -t''`locale nostr | awk -F: '{print $1}'`' ' -a frag='4096' -a
nbpi='4096' -a ag='8'
#mount /dev/lv00 /local

Then I create a "usr" directory off the local file system:
#cd /local
#mkdir usr

Then link /usr/local to /local
#cd /usr
#ln -s /local/usr local

This way you can keep all user type utilities in "/local/usr" or
"/usr/local" either way they are in their own logical volume and file
system, away from your base OS files.

All of the pre-compiled binaries from UCLA's website
http://aixpdslib.seas.ucla.edu/aixpdslib.html
also use this directory convention.

Hope this helps.
Alan

On 15 Apr 2003, at 13:07, Bill Verzal wrote:

Date sent: Tue, 15 Apr 2003 13:07:20 -0500
Send reply to: IBM AIX Discussion List <aix-l@Princeton.EDU>
From: Bill Verzal <BVerzal@KOMATSUNA.COM>
Subject: Re: Directory Conventions for Utilities?
Originally to: IBM AIX Discussion List <aix-l@Princeton.EDU>
To: aix-l@Princeton.EDU

> /usr/local/bin is where I put mine.
> ___________________________________________
> Bill Verzal
> AIX Admin/Komatsu America
> (847) 970-3726 (v)
>
>
> |---------+---------------------------->
> | | Tim Muller |
> | | <aix_sa_706@YAHOO|
> | | .COM> |
> | | Sent by: IBM AIX |
> | | Discussion List |
> | | <aix-l@Princeton.|
> | | EDU> |
> | | |
> | | |
> | | 04/15/2003 12:59 |
> | | PM |
> | | Please respond to|
> | | IBM AIX |
> | | Discussion List |
> | | |
> |---------+---------------------------->
> >-----------------------------------------------------------------
> --------------------------------------------------------------| |
> | | To:
> aix-l@Princeton.EDU | | cc:
> | | Subject: Directory
> Conventions for Utilities? |
> >-----------------------------------------------------------------
> --------------------------------------------------------------|
>
>
>
>
> I've been playing with nmon lately, which I had
> installed in the root directory. Realizing that root
> is probably not the best place for it, I started to
> move it to my own home directory, but decided that
> wasn't a good place either.
>
> Are there any conventions for where to store the
> various utilities that SA's accumulate? TIA.
>
>
>
> =====
> Tim Mueller
> Hamilton Co. Dept. of Job & Family Services
> Cincinnati, OH USA
>
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com

"I don't have time to be impatient."
Alan R. Vidmar Assistant Director of IT
Office of Financial Aid University of Colorado
Alan.Vidmar@Colorado.EDU (303)492-3598
*** This message printed with 100% recycled electrons ***



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:45 EDT