> ------------------------------------------------------------------------ Instructions for upgrading an RSA server to Red Hat 7.3 > > Before Installation > ------------------- > > Make a tarfile of the configuration files in /etc before installing > Red Hat 7.3. The /etc partition contains all the Linux configuration > information. > > -cd /etc > -tar cvf etc.tar . > > Move tarfile via ftp to another machine before you begin with the > installation. > > Please remember that by performing this installation you will be > completely erasing the contents of your disk. Anything you want > to save you should save BEFORE proceeding. > > Disconnect all network interface cards (NIC) except for the > primary interface (eth0), i.e., the local network that the > workstations are attached to. > > Installation of Red Hat 7.3 > --------------------------- > > Mount the first of the Red Hat 7.3 installation CDs. > > Reboot. > > Install Red Hat 7.3 in graphical mode (follow the instructions): > > -language selection - english > -keyboard - default > -mouse - 3 button PS/2 > > Red Hat 7.3 System Installer > > -Choose "custom system" installation > -manually partition the disk using Disk Druid. > -delete all existing partitions > -add the following partitions using default ext3 filesystems: > /boot 50MB > / 500MB > 1024MB > /local_home 2500MB > /var 2048MB > /tmp 1124MB > /usr 10940MB > /awips/fxa 5210MB > /awips/laps 2048MB > /awips/ldad 2048MB > /data/fxa 50000MB > /data/logs 5210MB > /scratch (everything else) > > -format partitions (don't check for bad blocks) > -use grub boot loader / no grub password > > Network Configuration > > -select activate on boot, unselect "configure using DHCP" > -use network information from old /etc/sysconfig/network- > scripts/ifcfg-eth0 file > -get DNS information from old /etc/resolv.conf > -firewall configuration - none > > Language Support > > -select all > > Set Time > > -select UTC > > Account Configuration > > -set root password; add account for temporary use > > Authentication Configuration > > -enable MD5 passwords and shadow passwords > -don't enable NIS, LDAP, Kerberos, or SMB > > Selecting Package Groups > > -select everything > > X Configuration > > -skip X configuration (this is a server, we don't want X) > > Package Installation > > -install all packages (everything) > > (All the system software packages or rpms are installed at > this time. Mount the second and third installation CDs > when prompted. This procedure should take 15-30 minutes.) > > Boot Disk Creation > > -insert a floppy and create a boot disk > -remove floppy and cdrom and reboot > > Post Installation Instructions > ------------------------------ > > After rebooting logon as root and mount "Red Hat 7.3 rpms- > patches" CD. > > -mount /mnt/cdrom > -cd /mnt/cdrom > -./install (this will install all the rpm patches) > > After installing patches remove CD and modify the /etc/ > grub.conf file to select the new kernel as the default > boot kernel. > > -The /etc/grub.conf file will look like the following: > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this > file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd0,0) > # kernel /vmlinuz-version ro > # initrd /initrd-version.img > #boot=/dev/sda > default=2 > timeout=10 > splashimage=(hd0,0)/grub/splash.xpm.gz > title Red Hat Linux (2.4.18-10debug) > root (hd0,0) > kernel /vmlinuz-2.4.18-10debug ro root=/dev/sda13 > initrd /initrd-2.4.18-10debug.img > title Red Hat Linux (2.4.18-10smp) > root (hd0,0) > kernel /vmlinuz-2.4.18-10smp ro root=/dev/sda13 > initrd /initrd-2.4.18-10smp.img > title Red Hat Linux (2.4.18-10) > root (hd0,0) > kernel /vmlinuz-2.4.18-10 ro root=/dev/sda13 > initrd /initrd-2.4.18-10.img > title Red Hat Linux (2.4.18-3) > root (hd0,0) > kernel /vmlinuz-2.4.18-3 ro root=/dev/sda13 > initrd /initrd-2.4.18-3.img > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > -The kernel we want to boot from is "Red Hat Linux (2.4.18-10)". Count > down to the correct "title" line starting 0,1,2...,etc. Using our > example above, "title Red Hat Linux (2.4.18-10debug)" is 0, "title Red > Hat Linux (2.4.18-10smp)" is 1, "title Red Hat Linux (2.4.18-10)" is 2, > etc. The boot kernel we want is number 2, so we change the line in > /etc/grub.conf to "default=2" if necessary. In our example above, > we're already pointing to "Red Hat Linux (2.4.18-10)" as the default > kernel. > > After modifying the /etc/grub.conf file reboot again. > > Logon as root. > > Turn on wu-ftpd by doing the following: > > -chkconfig wu-ftpd on > -service xinetd restart > > Use temporary account to ftp tar file saved from the old > Red Hat 7.2 system. Use old configuration files to update > the information in the following on the new Red Hat 7.3 > machine: > -/etc/passwd > -/etc/shadow > -/etc/fstab > -/etc/group > > The following files should be replaced using configuration > files from the old system: > -/etc/printcap.local > -/etc/sudoers > -/etc/exports > -/etc/sysconfig/static-routes (if this file existed on > the old system) > > Physically connect secondary network interfaces, if applicable, > i.e., eth1, eth2. eth3. > > Copy secondary network interface configuration files from the > old system, if applicable. > -/etc/sysconfig/network-scripts/ifcfg-eth1 > -/etc/sysconfig/network-scripts/ifcfg-eth2 > -/etc/sysconfig/network-scripts/ifcfg-eth3 > > Bring the secondary network interfaces up, if applicable. > -ifup eth1 > -ifup eth2 > -ifup eth3 > > Since this is a server, turn on the NFS service: > > -chkconfig nfs on > > Turn off the following unnecessary services: > > -chkconfig canna off > -chkconfig sendmail off > -chkconfig pcmcia off > -chkconfig apmd off > -chkconfig ipchains off > -chkconfig iptables off > -chkconfig FreeWnn off > -chkconfig kWnn off > -chkconfig httpd off > -chkconfig wine off > -chkconfig cWnn off > -chkconfig iscsi off > -chkconfig tWnn off > -chkconfig sgi_fam off > > Reboot one last time. > > You're now ready to install the AWIPS software. (Remember > to remove the temporary account when you're done with > it.) > > INSTALLING AND CONFIGURING RED HAT 7.3 ON AN RSA WORKSTATION Before Installation ------------------- Make a tarfile of the configuration files in /etc before installing Red Hat 7.3. -cd /etc -tar cvf etc.tar . Move tarfile via ftp to another machine before you begin with the installation. If using a dual monitor configuration, detach the second monitor. Please remember that by performing this installation you will be completely erasing the contents of your disk. Anything you want to save you should save BEFORE proceeding. Installation of Red Hat 7.3 --------------------------- Mount the first of the Red Hat 7.3 installation CDs. Reboot. Install Red Hat 7.3 in graphical mode (follow the instructions): -language selection - english -keyboard - default -mouse - 3 button PS/2 Red Hat 7.3 System Installer -Choose "custom system" installation -manually partition the disk using Disk Druid. -delete all existing partitions -add the following partitions using default ext3 filesystems: /boot 50MB / 500MB 1024MB /var 1000MB /tmp 500MB /usr 6000MB /data 3000MB /awips/fxa 3000MB /local_home (everything else) -format partitions (don't check for bad blocks) -use grub boot loader / no grub password Network Configuration -select activate on boot, unselect "configure using DHCP" -use network information from old /etc/sysconfig/network- scripts/ifcfg-eth0 file -get DNS information from old /etc/resolv.conf -firewall configuration - none Language Support -select all Set Time -select UTC Account Configuration -set root password; add account for temporary use Authentication Configuration -enable MD5 passwords and shadow passwords -don't enable NIS, LDAP, Kerberos, or SMB Selecting Package Groups -select everything X Configuration -skip X configuration (we want the system to come up the first time in text mode) Package Installation -install all packages (everything) (All the system software packages or rpms are installed at this time. Mount the second and third installation CDs when prompted. This procedure should take 15-30 minutes.) Boot Disk Creation -insert a floppy and create a boot disk -remove floppy and cdrom and reboot Post Installation Instructions ------------------------------ After rebooting logon as root and mount "Red Hat 7.3 rpms- patches" CD. -mount /mnt/cdrom -cd /mnt/cdrom -./install (this will install all the rpm patches) After installing patches remove CD and modify the /etc/ grub.conf file to select the new kernel as the default boot kernel. -The /etc/grub.conf file will look like the following: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro # initrd /initrd-version.img #boot=/dev/sda default=1 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.18-10debug) root (hd0,0) kernel /vmlinuz-2.4.18-10debug ro root=/dev/sda9 initrd /initrd-2.4.18-10debug.img title Red Hat Linux (2.4.18-10smp) root (hd0,0) kernel /vmlinuz-2.4.18-10smp ro root=/dev/sda9 initrd /initrd-2.4.18-10smp.img title Red Hat Linux (2.4.18-10) root (hd0,0) kernel /vmlinuz-2.4.18-10 ro root=/dev/sda9 initrd /initrd-2.4.18-10.img title Red Hat Linux (2.4.18-3smp) root (hd0,0) kernel /vmlinuz-2.4.18-3smp ro root=/dev/sda9 initrd /initrd-2.4.18-3smp.img title Red Hat Linux-up (2.4.18-3) root (hd0,0) kernel /vmlinuz-2.4.18-3 ro root=/dev/sda9 initrd /initrd-2.4.18-3.img xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -The kernel we want to boot from is "Red Hat Linux (2.4.18-10smp)". Count down to the correct "title" line starting 0,1,2...,etc. Using our example above, "title Red Hat Linux (2.4.18-10debug)" is 0, "title Red Hat Linux (2.4.18-10smp)" is 1, "title Red Hat Linux (2.4.18-10)" is 2, etc. The boot kernel we want is number 2, so we change the line in /etc/grub.conf to "default=1" if necessary. In our example above we're already pointing to "Red Hat Linux (2.4.18-10smp)" as the default kernel. After modifying the /etc/grub.conf file reboot again. Logon as root. Turn on wu-ftpd by doing the following: -chkconfig wu-ftpd on -service xinetd restart Use temporary account to ftp tar file saved from the old Red Hat 7.2 system. Use old configuration files to update the information in the following on the new Red Hat 7.3 machine: -/etc/passwd -/etc/shadow -/etc/fstab -/etc/group The following files should be replaced using configuration files from the old system: -/etc/X11/XF86Config-4 -/etc/printcap.local -/etc/sudoers Set the default run level to 5 in the /etc/inittab file. -change "id:3:initdefault:" to "id:5:initdefault:" Set up /data/fxa mount point. -mkdir -p /data/fxa Turn off the following unnecessary services: -chkconfig canna off -chkconfig sendmail off -chkconfig pcmcia off -chkconfig apmd off -chkconfig ipchains off -chkconfig iptables off -chkconfig FreeWnn off -chkconfig kWnn off -chkconfig httpd off -chkconfig wine off -chkconfig cWnn off -chkconfig iscsi off -chkconfig tWnn off -chkconfig sgi_fam off If using a dual monitor configuration, re-attach the second monitor. Reboot one last time. You're now ready to install the AWIPS software. (Remember to remove the temporary account when you're done with it.)