1) Boot the first RHEL AS v4 CD. 2) Select - English as my language - "us" keyboard 3) To partition the drives correctly, a) Go ahead and allow Disk Druid to "Autopartition". We modify that later. b) "Yes", we'd "like to initialize this drive, erasing ALL DATA" on however many drives there are. c) Install Linux on sda/hda only, so unselect any other drives (e.g. sdb/hdb). d) Yes, "Remove all partitions on sda/hda". e) On the Intel machines, it's Device Start End Blocks Type Mount Point ========== ===== ===== ====== ============= ============ /dev/sda sda1 1 13 104391 Linux sda2 14 8924 71577607 Linux LVM /boot This sda2 is the VolGroup00 Volume Group, which is divided Logical Volume Size Mount Point ============== ====== =========== rootlv 10 GB / tmplv 10 GB /tmp varlv 10 GB /var On the POWER machines (supl1 & supl2), you need an extra, small "PPC PReP Boot" partition, so it's Device Start End Blocks Type Mount Point ========== ===== ===== ====== ============= ============ /dev/hda hda1 * 1 1 8001 PPC PReP Boot hda2 2 14 104422 Linux /boot hda3 15 7296 58492665 Linux LVM This hda3 is the VolGroup00 Volume Group, which is divided Logical Volume Size Mount Point ============== ====== =========== rootlv 10 GB / tmplv 20 GB /tmp varlv 10 GB /var 4) Configure eth0 to not use DHCP, configuring Gateway = 10.222.211.1 DNS Server #1 = 199.221.80.141 DNS Server #2 = 199.222.82.28 5) !!! Disabled the firewall ('cause I don't know how to control it, that's why). 6) Set "Time Zone Selection" to "America/Los_Angeles". 7) Set the root password. 8) Don't "Customize software selection". Just accept their "default installation environment". After the install, we'll run my install.extra.packages to install everything extra I want. ****************************************************************** ****************************************************************** ** At this point, it formatted the drive & installed Linux. ** ** It will ask for CD's 2, 3, 4, and CD 1 again. ** ****************************************************************** ****************************************************************** 9) Accept whatever "Video Card Configuration" they detect, but change the "Monitor Configuration" from an "Unprobed Monitor" to a "Compaq S710". 10) Accept the rest of their defaults and it will reboot. 11) After the reboot, - accepted their license agreement, - did not create any non-root userids, - did not register with Red Hat Network (rhn) because if you did, it would run up2date, bringing everything into your /var/spool/up2date and we want thing shared in DFS, which isn't mounted yet. See step 18 below. 12) Configure DNS. echo 'nameserver 199.221.80.141' > /etc/resolv.conf echo 'nameserver 199.222.82.28' >> /etc/resolv.conf echo 'search delphion.com eagan.tshmg.com' >> /etc/resolv.conf 13) For my own sanity, customize everybody's environment with my preferences scp -p root@vinu:/etc/profile.d/zzz_Rick_Jasper.sh /etc/profile.d scp -p root@vinu:.bashrc . scp -p root@vinu:.vimrc . The extra shell script in the /etc/profile.d directory is called by the system /etc/profile. By naming it zzz*, I insure it's run last and it picks up my - unaliasing of vi to vim you'll find in /etc/profile.d/vim.sh - set -o vi - favorite prompt - c alias I comment out those 3 stupid aliases in root's .bashrc # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i' and the .vimrc defines my favorite PF keys in vi & tries to stop coloring, 14) To lower the boot-time timeout from 5 (or 20) seconds to 3. vi /boot/grub/grub.conf Or on the blades, vi /boot/etc/yaboot.conf to lower the timeout from 5 (or 20) seconds to 3. 15) Mount the standard shared file systems. vi /etc/fstab and append these two lines sunas1:/dfs /dfs nfs soft,timeo=100 0 0 sunas1:/home /export/home nfs soft,timeo=100 0 0 Save and then mkdir /dfs /export /export/home mount /dfs mount /export/home 16) Install all the extra Linux packages, by running /dfs/software/linux/install.extra.packages 17) Configure ntp, setting it to time.ext.dialog.com (note we're moving away from AFS). system-config-time Click on the "Network Time Protocol" tab along the top, Click the "Enable Network Time Protocol" button, Enter time.ext.dialog.com in the "Server:" box and click the "Add" button, (or india.colorado.edu = 128.138.140.44 for an external source) Click & Delete each of the three 0.pool.ntp.org entries, Click OK 18) Configure NIS. system-config-authentication Click on "Enable NIS Support" Click the "Configure NIS" box Set the "NIS Domain" = delphion.com and the "NIS Server" = supa1 Click "OK" Click "OK" This - adds a bunch of lines in /etc/netsvc.conf (adding nis) - changes "USENIS=no" in /etc/sysconfig/authconfig to "USENIS=yes" (this evidently takes the place of pre v5.3 AIX's +: at the bottom of /etc/passwd & /etc/group??) - adds "NISDOMAIN=delphion.com" to /etc/sysconfig/network - adds a bunch of links in /etc/rc.d/rc[345].d to start & stop nscd, ypbind, winbind, and portmap. - adds "domain delphion.com server supa1" to /etc/yp.conf - changes "allow_ypbind=1" in /etc/selinux/targeted/booleans to "...=1" - appends "nis" to the "password" line in /etc/pam.d/system-auth - creates /var/yp/binding/delphion.com.1 & delphion.com.2 Much more than you'd ever want to do by hand. 19) Customize ssh environment vi /etc/ssh/sshd_config to set UseDNS no and vi /etc/ssh/ssh_config to add ForwardX11 yes service sshd restart 20) Configure /etc/mail/sendmail.cf cp -p /etc/mail/sendmail.cf /etc/mail/sendmail.cf.orig vi /etc/mail/sendmail.cf and add Djdelphion.com after 'my official domain name' around line 95 Also add relay.int.dialog.com to that bare DS line around line 102 service sendmail restart 21) If this is a system that you want registered with Red Hat Network (rhn), then follow the directions in the rest of this step. Otherwise like for the Dell machines or my laptop, I don't want registered 'cause they'll eat up one of my 6 licenses. For those machines, you can update everything we've got by cd /dfs/software/linux/RHEL_v4_$(uname -i)/up2date rpm -Fvh *rpm But if we do want this machine registered, we need to first change some up2date defaults. up2date-config On "Retrieval / Installation" screen, 1) Check "After installation, keep binary packages on disk" 2) Set the "Package storage directory:" from its default of /var/spool/up2date, to /dfs/software/linux/RHEL_v4_ppc64/up2date if this is a POWER blade, or /dfs/software/linux/RHEL_v4_i386/up2date if this is a 32-bit Intel machine, or /dfs/software/linux/RHEL_v4_x86_64/up2date if this is a 64-bit Intel machine, When you get out of up2date-config, it will launch for you, the up2date --register program. - Click on "Use Existing Account" instead of its default of "Create New Account". - username=rick_jasper - password=r-3 If it needs to update up2date first, it will do so, then it'll relaunch up2date to update all the other packages. ---------------------------------------------------------------------------------------- 91) On systems with extra disks that you want to use, like on vinu, which had a 587GB RAID 5 array, I created a 100GB /big file system, fdisk /dev/sdb new to accept the default start cylinder of the next (12500) 24999 for the last cylinder, w to write the new partition table and exit Now a fdisk -l /dev/sdb command shows Disk /dev/sdb: 587.2 GB, 587257085952 bytes 254 heads, 63 sectors/track, 71677 cylinders (which is 546 GB) Units = cylinders of 16002 * 512 = 8193024 bytes (which is just under 8 MB) Device Boot Start End Blocks Id System /dev/sdb1 * 1 12499 100004467+ 83 Linux (12,499 cyls= 95 GB) /dev/sdb2 12500 24999 100012500 83 Linux (12,500 cyls= 95 GB) (25000 71677 46,678 cyls=356 GB Free) partprobe /dev/sdb to force the kernel to use the new partition table # mkfs -t ext3 /dev/sdb2 This created 12,517,376 inodes, which I felt was too many, # mkfs -t ext3 -T largefile4 /dev/sdb2 # Created only 24,448 inodes. But this reserved 5% of the disk for root, which was way too much. To reduce that, to 1%, which is apparantly as low as you can go, mkfs -t ext3 -T largefile4 -m 1 /dev/sdb2 mkdir /big Added this line to the bottom of /etc/fstab, /dev/sdb2 /big ext3 defaults 1 2 mount /big chmod 777 /big 92) To define the HP 8100 Black & White printer, redhat-config-printer Click on "New" Click "Forward" to get to the "Queue name" screen, Name: quetzal Short description: HP LaserJet 8100 Series PS in Mail Room Click "Forward" to get to the "Queue type" screen, For "Select a queue type:", select "Networked UNIX (LPD)" from the pull-down menu. Then for "Server:", put quetzal and for "Queue:", put HP8100 Click "Forward" to get to the "Printer model" screen, From the "Generic (click to select manufacturer)" pull-down menu, select "HP" Then scroll down, find & select "LaserJet 8100". Click "Forward" to get to the "Finish, and create the new print queue" screen, Click "Apply" to do it. ----------------------------------------------------------------------------------------