home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / admin / 6200 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  3.1 KB

  1. Path: sparky!uunet!imp!ferrari!ori
  2. From: ori@ferrari.dsp.hellnet.org (Ori Chalak)
  3. Newsgroups: comp.unix.admin
  4. Subject: how do other people deal with new man pages?
  5. Message-ID: <109@ferrari.dsp.hellnet.org>
  6. Date: 15 Nov 92 14:57:46 GMT
  7. Sender: news@ferrari.dsp.hellnet.org
  8. Lines: 123
  9. Nntp-Posting-Host: ferrari
  10.  
  11.  
  12. My suggestion is as follows:
  13.  
  14. 1. I have several global disks in the system, on which I locate 
  15.    software instatllations.
  16.    Each software instatllation has a root directory, which is looked
  17.    from the outside as if it was located under "/usr".
  18.    This is achieved using "auto.direct" yellow-pages map.
  19.  
  20.    An auto.direct entry example:
  21.  
  22.    /usr/applic        server:/partition/appilc
  23.  
  24. 2. Under the software instatllation directory (e.g. /usr/applic), there are
  25.    several sub-directoties:
  26.  
  27.    bin  lib  man  ...
  28.  
  29.    They are NOT spread in the  file system. Instead, they might be pointed by
  30.    environment variables.
  31.  
  32.    For this I create a C-SHELL command file, e.g. /usr/applic/.cshrc-export
  33.    which contains all the necessary redirections
  34.  
  35.    example:
  36.  
  37.    # Begin of /usr/applic/.cshrc-export
  38.  
  39.    set root = "/usr/appic"
  40.  
  41.    set path = ($path ${root}/bin)
  42.  
  43.    if (! $?LD_LIBRARY_PATH) then
  44.        setenv LD_LIBRARY_PATH ${root}/lib
  45.    else
  46.        setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${root}/lib
  47.    endif
  48.  
  49.    if (! $?MANPATH) then
  50.        setenv MANPATH ${root}/lib
  51.    else
  52.        setenv MANPATH ${MANPATH}:${root}/lib
  53.    endif
  54.  
  55.    .
  56.    .
  57.    .
  58.  
  59.    setenv APPLIC_KEYWORD1 value1  # Setting aoording to "applic" requirements
  60.    setenv APPLIC_KEYWORD2 value2  # Setting aoording to "applic" requirements
  61.    .
  62.    .
  63.    .
  64.  
  65.    unset root
  66.  
  67.    # End of /usr/applic/.cshrc-export
  68.  
  69.  
  70.  
  71. 3. I have one global C-SHELL command-file in the system which sources all the ".cshrc-export"
  72.  
  73.    example:
  74.  
  75.    # Begin of /usr/global/.cshrc-export
  76.  
  77.    source /usr/applic1/.cshrc-export
  78.    source /usr/applic2/.cshrc-export
  79.    .
  80.    .
  81.    .
  82.  
  83.    # End of /usr/global/.cshrc-export
  84.  
  85.  
  86. 4. Each user sources the global .cshrc-export in his/her ".cshrc" file or in his/her
  87.    ".login" file.
  88.  
  89.    Example:
  90.  
  91.    # Begin of ~/.login
  92.    .
  93.    .
  94.    .
  95.    source /usr/global/.cshrc-export
  96.    .
  97.    .
  98.    .
  99.  
  100.    # End of ~/.login
  101.  
  102.  
  103.  
  104. This solution achieves the following goals:
  105.  
  106. 1. Auto mounter advantages
  107.  
  108.    - Easy to change the disk and host installation
  109.    - Creating mount-points just as much as necessary
  110.  
  111. 2. Easy software update, since the installation is located in one place,
  112.    and is similiar to the original tape.
  113.  
  114. 3. The users are not required to be aware of the fact a new installation or
  115.    version had arrived. they will be "tuned" to it as they login.
  116.  
  117.  
  118.  
  119.             Good Luck
  120.  
  121.                     Ori
  122.  
  123. ------------------------------------------------------------------------------------
  124. Ori Chalak                    Telephone:    972 3 531 3282
  125. Cad Programmer and System Administrator        Fax:        972 3 531 3303
  126. DSP-Semiconductors                Email:        ori@dsp.hellnet.org
  127. I S R A E L
  128. "No problem is too complicated or too simple"
  129. -- 
  130. ------------------------------------------------------------------------------------
  131. Ori Chalak                    Telephone:    972 3 531 3282
  132. Cad Programmer and System Administrator        Fax:        972 3 531 3303
  133. DSP-Semiconductors                Email:        ori@dsp.hellnet.org
  134.