walden.math RedHat 7.1 Network Installation and Setup

Things You Should Know Before The Install Starts

  1. My comments in the install section will be listed in italics .
  2. The type of graphics card and the amount of video RAM your PC has. The rest of the hardware should be auto detected if you followed the MFCF Linux Support guidelines.
  3. <Hostname> (that was registered with "hostmaster@ist.uwaterloo.ca") along with its IP address (129.97.NNN.XXX).
  4. Router (Gateway) IP if it's not 129.97.NNN.1, where NNN designates the subnet your host will be attached to.

Operating System Install

Initial booting of IBM ThinkPad T21.

Answering the OS Install Questions.

Each of the following list items corresponds to a seperate window whose name is displayed in the top center of the "User Selection" window.

Use the instructions at the bottom of the install screen to navigate around the screen and to move between windows.

The bolded text below itemizes the recommended settings for each of the "User Selection" Windows.

  1. Choose a Language
    English
  2. Keyboard Type

    Always try to use the default setting first.

    us
  3. Installation Method
    NFS image
  4. Configure TCP/IP

    Do not select "Use dynamic IP configuration (BOOTP/DHCP)"

    IP Address: 129.97.NNN.XXX
    Netmask: 255.255.255.0
    Default gateway (IP): 129.97.NNN.1
    Primary nameserver: 129.97.128.100

    Where:

    NNN and XXX are the values obtained when you registered your <Hostname> with "hostmaster@ist.uwaterloo.ca".

    <Hostname> is the the fully qualified name. ie The fully qualified hostname of "linux22.math" is "linux22.math.uwaterloo.ca""

  5. NFS Setup
    NFS server name: rha.uwaterloo.ca
    Red Hat directory: /Distros/7.1/

    Note that the Red Hat directory name is case sensitive.

At this point the graphical user interface install starts and the screen is divided into two windows: the "Online Help" on the left side and "User Selection" on the right. The item names now correspond to the "User Selection" window.

  1. Mouse Configuration

    Always try to use the default setting first.

    3 Button Mouse (PS/2)
  2. Welcome

    Nothing to enter on this screen.

  3. Installation Type
    Custom Setup
  4. Disk Partitioning
    Manually partition with Disk Druid

    The real partitioning of the disk was done before the install started with PQ partition magic.

  5. Disk Druid

    Edit hda2 to have

    Mount Point: /

    Edit hda4 to have

    Mount Point: /home

    Boot Partition Warning Window pops up

    The new hardware has a system BIOS that supports booting above the 1024 cylinder limit. So we can ignore this.

    Select OK.

  6. Choose Partitions to Format

    Always format "/", and (only if you haven't done it recently or suppect that your disk is flacky) "check for bad blocks while formatting".

    Since the "/home" directory already had information, it was not formated.

  7. LILO Configuration
    check Create boot disk

    We want to use LILO to handle booting.

    check Install LILO
    select /dev/hda Master Boot Record (MBR)

    Since we want to use "lba32" mode of addressing the disk drive,

    uncheck Use linear mode (needed for some SCSI drives)

    Select the Device that has the OS installed that you want booted by default and make sure that the "Default boot image" box is checked.

    You can also change the labels of the boot devices as you like by selecting the "Device" and entering the new label in the "Boot label: " box.

  8. Network Configuration

    There should be nothing to do here as the information was already provided as part of NFS mounting the install media.

  9. Firewall Configuration

    These notes are very preliminary

    Since we're going to use pmfirewall package to setup ipchains
    "Please choose your security level:"

    select No firewall
  10. Language Selection

    Select the languages first

    check English (Canada)
    check English (Great Britain)
    check English (USA)

    And then

    Choose the default language: English (Canada)
  11. Time Zone Selection

    Do not select "System clock uses UTC" since we will be dual booting the host where one of the choices is a Microsoft OS.

    Click on map to select time zone or scroll through options and select one of the "Eastern Time" zone choices.

    Location: ... Eastern Time
  12. Account Configuration
    Set a "Root Passwd" and "Confirm" it.

    I recommend setting up additional commands after the OS is installed. You can then use the command "adduser". (MFCF should have a web page on account management but we don't yet, 01/05/18.)

  13. Authentication Configuration
    Enable MD5 passwords
    Enable shadow passwords

    DO NOT select "Enable NIS", "Enable LDAP", or "Enable Kerberos".

  14. Package Group Selection

    These choices were selected:

    "Printer Support", "X Window System", "GNOME", "KDE", "Mail/WWW/News Tools", "DOS/Windows Connectivity", "Graphics Manipulation", "Multimedia Support", "Laptop Support", "Networked Workstation", "Dialup Workstation", "SMB (Samba) Server", "Network Management Workstation", "Authoring/Publishing", "Emacs", "Development", "Kernel Development", "Utilities".

    Also checked Select individual packages

  15. Individual Package Selection Only changes to the settings created by the previous step are noted bellow.

    From the "Applications -> Communications" group of packages,
    select:


    gkermit

    From the "Applications -> Editors" group of packages,
    select:


    vim-X11
    vim-enhanced
    xemacs
    xemacs-el
    xemacs-info

    From the "Applications -> Engineering" group of packages,
    select:


    gnuplot
    octave
    units

    From the "Applications -> File" group of packages,
    select:


    tree

    From the "Applications -> Internet" group of packages,
    select:


    x3270-text
    xmailbox
    xrn
    ytalk

    From the "Applications -> Multimedia" group of packages,
    select:


    gimp-data-extras
    transfig
    xfig

    From the "Applications -> Publishing" group of packages,
    select:


    enscript
    tetex-doc

    From the "Applications -> System" group of packages,
    select:


    linuxconf
    macutils
    procinfo
    samba-swat
    symlinnks
    sysctlconfig
    tripwire
    usbview
    xcpustate
    xosview
    xsysinfo
    xtoolwait

    unselected:

    xisdnload

    From the "Development -> Debuggers" group of packages,
    select:


    kdbg
    lslk
    sysreport

    From the "Development -> Languages" group of packages,
    select:


    itcl
    jikes
    kaffe
    libgcj-devel

    From the "Development -> Libraries" group of packages,
    select:


    WindowMaker-libs
    blas
    lapack

    From the "Development -> Tools" group of packages,
    Select all in group

    From the "Documentation" group of packages,
    select:


    bash-doc
    lapack-man
    python-docs

    From the "System Environment -> Base" group of packages,
    unselected:


    nss_ldap
    pam_krb5
    rhn_register
    rhn_register_gnome
    up2date
    up2date_gnome
    yptools

    From the "System Environment -> Daemons" group of packages,
    unselected:


    finger-server
    rusers-server
    talk-server
    telnet-server
    ypbind
    ypserv

    From the "System Environment -> Libraries" group of packages,
    select:


    Wnn6-SDK
    fnlib
    libPropList
    zsh

    From the "System Environment -> Shells" group of packages,
    select:


    pdksh
    zsh

    From the "User Interface -> Desktops" group of packages,
    Select all in group

    From the "User Interface -> X" group of packages,
    Select all in group

    Still need to find where Canna-libs came from!

  16. X Configuration

    S3 Savage (generic)
    Video card RAM:
    8 MB

  17. Monitor Configuration

    Generic Laptop Display Panel 1024x768
    Horizontal Sync: 31.5-48.5 KHz
    Vertical Sync: 50-70 Hz

  18. Customize Graphics Configuration

    Color Depth: True Color (24 Bit)
    Screen Resolution: 1024 x 768

    Default desktop environment GNOME

    Login type Graphical

  19. About to Install

    Last chance to "backup" and make changes. Once you're happy...

  20. Installing Packages

    Nice GUI shows you how the install is going. When it is done you automatically switch to the next section.

  21. Bootdisk Creation

    Put a formated floppy disk in floppy drive, and continue.

  22. Congratulations

    Nothing to do but hit Exit.

Updating the System

"lynx" config file must be changed to tell it to use passive ftp service.

echo "FTP_PASSIVE:TRUE" >> /etc/lynx.cfg

We use IST's (Jeff Voskamp's) UWupdates package to keep system up to date, so install it.

rpm -ivh ftp://rha.uwaterloo.ca/linux/UWupdates.i386.rpm

Update the system.

ListUpdates | ApplyUpdates

Change the default timeout for the OS selector to 30 seconds by changing the "timeout=50" line in /etc/lilo.conf to timeout=30 and then running "lilo"

reboot host to make sure all updates have taken affect.

reboot

Apply MFCF's Post Installation scripts.

After the host has rebooted, logon as root, use a web tool to download the compressed tar file "postinstallation.tar.gz" into the "/root" directory.

Unpack the compressed tar file and run the hostsetup script the MFCF.postinstallation directory.

cd /root; tar zxvf postinstallation.tar.gz
chown -R root.root MFCF.postinstallation
cd MFCF.postinstallation; ./hostsetup -v

IDE CDRW setup

To use the ide cdrw we need to enable the ide-scsi pseudo device driver by adding the line append="hdc=ide-scsi" to the "/etc/lilo.conf" file and rerunning lilo. The "/etc/lilo.conf" file ends up looking like

	boot=/dev/hda
	map=/boot/map
	install=/boot/boot.b
	prompt
	timeout=50
	message=/boot/message
	lba32

	image=/boot/vmlinuz-2.4.2-2
		label=RedHat_7.1
		read-only
		root=/dev/hda2
		append="hdc=ide-scsi"

	other=/dev/hda1
		label=Win2k
  

Setup Printing.

# /etc/printcap
#

ljp_cs|lp:\
	:sd=/var/spool/lpd/ljp_cs:\
	:mx#0:\
	:rm=print.math:\
	:rp=ljp_cs:\
	:bk=true:\
	:nline_after_file=true:\
	:lpd_bounce=true:

ljp_3016:\
	:sd=/var/spool/lpd/ljp_3016:\
	:mx#0:\
	:rm=print.math:\
	:rp=ljp_3016:\
	:bk=true:\
	:nline_after_file=true:\
	:lpd_bounce=true:

And then run "checkpc -V -f" after creating the file to create the necessary print spool directories.