Notes on Installing RHEL ES 4 on adam, one of those 4 Dell Machines     7-1-2005
  ===================================================================     ========

Adam started out with RHEL ES 3 with these partitions,
fdisk -l /dev/sda

Disk /dev/sda: 18.2 GB, 18210036736 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device  Boot Start   End    Blocks   Id  System       Mount Point
/dev/sda1   *      1    13    104391   83  Linux        /boot
/dev/sda2         14   535   4192965   83  Linux        /
/dev/sda3        536   796   2096482+  8e  Linux LVM    This was to play around with LVM
                                                        (I think) but never used.
/dev/sda4        797  2213  11382052+   5  Extended
/dev/sda5        797   927   1052226   83  Linux        /usr/vice/cache
/dev/sda6        928  1181   2040223+  82  Linux swap
                1182  2213   8299603  Free Unallocated  8GB Free

Interesting that RHEL ES 4 defaults to wanting to partition the disk
into a Logical Volume, ala

  Device              Mount Point     Type   Size(MB)  Start   End
=================   ===============  ======  ========  =====  =====
LVM Volume Groups
  VolGroup00<----\                            17216
    LogVol00     |  /                ext3     15200
    LogVol01     |                   swap      1984
                 |
Hard Drives      |
  /dev/sda       |
    /dev/sda1    |  /boot            ext3       102       1      13
    /dev/sda2    \--VolGroup00       LVM PV   17257      14    2213

I added the AFS cache as a logical volume and renamed things, making it

  Device              Mount Point     Type   Size(MB)  Start   End
=================   ===============  ======  ========  =====  =====
LVM Volume Groups
  rootvg    <----\                            17216
    rootlv       |  /                ext3      8192
    swaplv       |                   swap      1984
    cachelv      |  /usr/vice/cache  ext3      1024    (Leaving 6GB Free in rootvg)
                 |
Hard Drives      |
  /dev/sda       |
    /dev/sda1    |  /boot            ext3       102       1      13
    /dev/sda2    \--rootgv           LVM PV   17257      14    2213


2) Boot the "RHEL AS 4 ... CD 1 of 4".
   Select English and US keyboard.

3) For the "Installation Method", chose "HTTP".

   For the "Networking Device", chose the motherboard ethernet connection,
   "eth0 - 3Com Corporation|3c905C-TX/TX-M [Tornado]", as contrasted to the
   "eth1 - Intel Corp. ... [Ethernet Pro 100]" adapter in a slot.

   For "Configure TCP/IP", unselected "Use dynamic IP configuration ..."
   and typed in the I.P. information
      IP address:            10.224.88.51
      Netmask:               255.255.255.0
      Default gateway (IP):  10.224.88.1
      Primary nameserver:    10.224.88.254

   For "HTTP Setup",
      Web site name:         w3.delphion.com
      Red Hat directory:     linux

4) Being connected to the CKM switch, it doesn't detect the monitor type.
   I'll specify that later.

   For the "Mouse Selection", chose "Generic - 2 Button Mouse (PS/2)", not
   the default "Generic - 3 Button Mouse (PS/2)".

   Go ahead and allow "Disk Druid" to "Autopartition".  I'll modify that later.
   Yes, "Remove all partitions on this system", and use the only drive, sda.

   Disk Druid's default partitioning was
      Device   Start   End   Size   Type  Mount Point
     ========  =====  ====  ======  ====  ===========
     /dev/sda
       sda1        1    13    101M  ext3  /boot
       sda2       14  1959  15264M  ext3  /
       sda3     1960  2213   1992M  swap

   I added the a 1000MB ext3 file system at /usr/vice/cache for AFS.

   The final configuration is
      Device   Start   End   Size   Type      Mount Point
     ========  =====  ====  ======  ====      ===========
     /dev/sda
       sda1        1    13    101M  ext3      /boot
       sda2       14  1832  14268M  ext3      /
       sda3     1833  1959    996M  ext3      /usr/vice/ca (sic)
       sda4     1960  2213   1992M  Extended
         sda5   1960  2213   1992M  swap
   
   Accepted a lot of the defaults.  In particular, the two
   "Network Configuration" screens came up as I wanted them to;
   * eth0 should not use DHCP, "Activate on boot", and the right, fixed
          I.P. address & Netmask.
   * eth1 did NOT have "Activate on boot" checked.

   Filled in the "Secondary DNS:" on the "Miscellaneous Network Settings"
   screen, to 10.224.89.254 (Lisle's chiname).

   !!! Disabled the firewall.

   Set "Time Zone Selection" to "America/Los_Angeles".

   Took their default software selection.

5) The first screen after the install was "Video Card Configuration".
   Accepted the "Video Card:" they detected, "Matrox Millennium G450".

   The next "Monitor Configuration" screen allowed me to change the
   "Monitor:" from "Unprobed Monitor" to "Sony CPD-G400".

   The system then rebooted.

6) After the boot, configured NTP, pointing to afs1.

   Did not register with Red Hat Network.

7) vi /boot/grub/grub.conf to lower the timeout from 10 seconds to 3.

8) To update the system,
     mount jasper:/var/up2date /mnt
     cd /mnt
     rpm -import RPM*
   # liblaus.so.1 (in laus-libs-0.1*rpm) is needed by pam-0.75-54 and rpm -F --aid
   # won't install it.  Why not?  I dunno.  Maybe 'cause it's not "suggested"?
     rpm -Uvh laus-libs*rpm
     rpm -Fv --aid *rpm
     cd
     umount /mnt
     
9) To install AFS,
     mkdir /tmp/afs
     cd /tmp/afs
     scp -p jasper@jasper:/afs/d/software/base/linux/openafs-1.2.11/* .
     rpm -Uvh *rpm

     vi /usr/vice/etc/cacheinfo
   and set the cache size to 95% of the number of 1K blocks of /usr/vice/cache.
   95% of 1GB (my standard), is 953850.

     vi /usr/vice/etc/ThisCell
   and set the cell name to delphion.com.

     vi /usr/vice/etc/CellServDB
   remove all the existing lines, and add just these two lines,
     >delphion.com   # Thomson-Delphion
     10.224.88.241   #afs1.delphion.com

   To start AFS now, service afs start

   To allow AFS-authenticated logins, ftp's, etc,
     cp -p /etc/pam.d/system-auth /etc/pam.d/system-auth.Before.AFS
     cp -p --reply=yes system-auth /etc/pam.d/system-auth

   To clean up,
     cd
     rm -rf /tmp/afs

   To add our standard links,
     ln -s /afs/d/u /u
     ln -s /afs/d/FakeDFS /dfs