RHEL Baseline Installation

Introduction

This document describes the baselines install procedures for Red Hat Enterprise. This can be followed for either a workstation or server build as the same OS/Kernel is installed. The kickstart procedure is also explained. Kickstarting comes in handy when setting up 4 or more machines with identical hardware/install setups.

General Installation

  1. If needed be sure that any RAID configuration is complete ahead of time.
  2. Boot in to the install program
  3. Press enter to install in graphical mode or type "linux text" to install in text mode.
    • Depending on the server and the hardware circumstances text mode may be the only option available. The same configuration options are made available in both modes however the graphical mode is a bit easier to navigate.
    • Even if an install is performed in graphical mode, the system can be set to boot to a text run level later on by editing /etc/innnitab.
    • Any media tests can be skipped
    • some drives will install and the "anaconda" install program will begin
  4. Select Language and Keyboard options.
  5. Enter an installation number, click Next
    • For the CSE Server entitlement this is a125-c3ec-a121-8dc3
  6. Partition the drive(s):
    • Select to "Remove all partitions on selected drives and create a default layout"
    • Select the "Review and modify partition layout" from the bottom check box.
    • For workstation type systems it is sufficient to use the default layout with linux volume management partitions.
    • For server type machines you will want to create separate file systems/partitions for each of the major mount points.
    • For server machines remove default created volume group ("VolGroup00") by selecting it and then clicking the "delete" button.
    • Then add the mount points/File systems you will need, these will typically include /, /opt, /usr, /var, /tmp. These can each be added using the "New" button and then entering information such as mount point and size.
    • Be sure to also add enough swap space. This can sometimes be an art form but bare minimum there should be around 2.5 times the amount of ram. However for compute or application servers there should probably be at least 5-6 times the RAM capacity installed in swap space.
  7. Install the GRUB boot loader with the CSE root password
  8. Setup the networking settings
    • Select the primary NIC you will use and be sure that "Active on boot" is checked, then click the "Edit" button next to the list of available interfaces. In the interface menu be sure to disable IPV6 and set IPV4 support for manual configuration. We don't like server to be dependent on other services such as DHCP when they start up. Enter the correct IP and netmask accordingly. Click "OK" when done.
    • Set the host name manually to the fully qualified (%.cse.buffalo.edu) name of the machine.
    • Set the gateway accordingly. Given the number of subnets we have determing the gateway can be tough. Feel free to use tracert as a cheat!
    • For the DNS servers us 128.205.32.12 and 128.205.1.2.
  9. Select the appropriate region
  10. Enter the standard CSE root password
  11. Select the software you want installed
    • Start by un-checking "Virtualization" and Web server" (unless of course you plan on using the machine in question for either of those tasks) and checking off Software Delevopment. Also check off "Customize Now" on the bottom and click "Next".
    • Go through both "Desktop Environments" and "Applications" and select all the components taking care to also check off the optional extras.
    • For the "Development" Category it is enough to be sure all the major sections are checked off
    • For the "Base System" category be sure that All but the "OpenFabrics" categories are checked. All options within "System Tools" and X Windows System" should be checked.
    • "Virtualization" can be left blank unless the server is being used as a virtualization host.
    • If the machine will be used for things like web browsing and email it is a good idea to select all options under "Languages".
    • NOTE: if this server is being used for a very specific purpose such as tape backups, or DHCP, there is no need to install all of the additional libraries. These libraries/apps all come in hands when the machine is being used as a timeshare/compute/thin client/desktop type machine.
  12. Click next/ok until the installation begins. If using the install DVD there should be no need to switch CDs. Once finished click to reboot the system and remove the install media.
  13. Post install options
    • After the Linux OS has booted you will be presented with a welcome screen. Click Agree to the License and click Next.
    • Enable the firewall with access to SSH, Click Next
    • Disable SELinux, Click Next, Click "Yes"
    • Select the correct Date and Time and Click Next
    • Do not register with RHN. That step will happen in the "Post Install Configuration" section.
    • Do not create any accounts.
    • Click Try Sound Test, Then Click Next
    • Click next for the Additional CDs Section
    • Click next to end Setup and Reboot System