Install RH 5.1 via FTP

1998.10.8 T. Ichihara (RIKEN) FD (prepare following 2 FD's, use DD to write on Unix) boot.img (Linux/redhat/redhat-5.1/updates/i386/images/boot.img) supp.img (Linux/redhat/redhat-5.1/updates/i386/images/supp.img) Disk configuration for RBRC-E CPU farm PC is assumed as follows Prepare 1GB SWAP area for large simulation etc. (Memory = 256MB) N.B. SWAP: (ftp://ftp.riken.go.jp/pub/Linux/sunsite/docs/INFO-SHEET) ... A total of 16 of these 128 MB swapping areas can be used at once, for a theoretical total of 2GB of useable swap space. It is simple to increase this if necessary, by changing a few lines of source code. Hda swap 1 127 MB (127/125) hda5 swap 2 127 MB hda6 swap 3 127 MB hda7 swap 4 127 MB swap 5 127 MB swap 6 127 MB swap 7 127 MB swap 8 127 MB hda11 / 3.0 GB (3100/3106) hda1 Hdb /work 4.0 GB (4118/4118) hdb1 Linux RH mirror FTP site name: 130.199.36.85 (access only available inside phy/rhic BNL) Directory: /pub/Linux/redhat/redhat-5.1/i386 (do not probe display during installation) After the installation, fix followings. 1) rdate -s NTP_Host (Do this first, this is very importnat !!) 2) create local account 3) fix /etc/hosts, /etc/fstabs, /etc/resolv.conf 4) setup TCP wrapper, fix /etc/hosts.allow, /etc/hosts.deny 5) mount -a (confirm NFS mount works) 6) install ssh make install cp /usr/local/sbin/sshd /usr/sbin/sshd vi /etc/rc.d/rc.local to add /usr/sbin/sshd 7) mv /etc/rc.d/rc3.d/S40portmap /etc/rc.d/rc3.d/S14portmap mv /etc/rc.d/rc5.d/S40portmap /etc/rc.d/rc5.d/S14portmap mv /etc/rc.d/rc6.d/K65portmap /etc/rc.d/rc6.d/K96portmap 8) fix /etc/csh.cshrc (add source /riken/u/sys/cshrc.Linux) 9) reboo (confirm reboot works without intervention) 10) update RH5.1 cd /pub/Linux/redhat/redhat-5.1/updates/i386/ (= /riken/u/ichihara/linux/update) rpm -iv *.rpm 11) install ypbind (ypbind-3.3-7.i386.rpm) rpm -ivh ftp://rikalp.phy.bnl.gov/pub/Linux/redhat/redhat-5.1/i386/RedHat/RPMS/ypbind-3.3-7.i386.rpm 11.1) /etc/rc.d/init.d/ypbind echo -n "Binding to the NIS domain... " add> /bin/domainname my_nis_domain_name daemon ypbind 11.2) fix /etc/yp.conf 12) install xntp rpm -ivh ftp://rikalp.phy.bnl.gov/pub/Linux/redhat/redhat-5.1/i386/RedHat/RPMS/xntp3-5.93-2.i386.rpm fix /etc/ntp.conf
Linux Boot reliability test (1998.10.4) -- Hardware : Dell Precision 410 (Dual Pentium II 450 MHz, 4GH IDE HG x 2) -- Test Result kernel 2.1.115 OK kernel 2.1.118 OK (confirmed 25 times boot, no problem found) kernel 2.1.119 OK (confirmed 25 times boot, no problem found) kernel 2.1.120 NG (often boot failed by IDE-related error) kernel 2.1.124 NG (often boot failed by IDE-related error)

Install New kernel 2.1.119 (1998.10.4)

Patch 3c59x.c to work correctly on CATALYST at 100BaseT mode. correct: /usr/src/linux/drivers/net/3c59x.c cp static int options[8] = { 4, -1, -1, -1, -1, -1, -1, -1,}; make xconfig make depend make bzImage cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.1.123 edit /etc/lilo.conf lilo reinstall arla-0.13 for this kernel version fix /usr/arla/etc/CellServDB fix /usr/arla/etc/ThisCell (rhic) add /usr/arla/bin/startarla /usr/arla/bin/fs sysname i386_linux2 in /etc/rc.d/rc.local cp /usr/arla/lib/getcwd.so /lib (do this before next line!!) /etc/ld.so.preload to have /lib/getcwd.so 12) X11R6 directory (copy from p01 tar)

for PHENIX

mkdir /opt ln -s /afs/rhic/opt/rhic /opt/rhic ln -s /afs/rhic/opt/phenix /opt/phenix ls -s /afs/rhic/asis/i386_linux2/cern /cern

Installation check list

(1) ypcat passwd (2) df (3) top (swap, memory etc.) (4) remote reboot reliability (a few times) (5) kauth and check /afs (6) ntpq peer (7) Xserver (X11R6) (8) fortran (9) /etc/csh.cshrc (10) /etc/hosts, /etc/hosts.allow /etc/hosts.deny