installation of red hat enterprise linux 6

Upload: chand-basha

Post on 03-Jun-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    1/19

    Installation of Red

    Hat Enterprise

    Linux 6

    SLAC ComputingUNIX at SLAC

    Linux at SLAC

    Updated: 09 Nov 2011

    There are several steps to setting up a fully-integrated Red HatEnterprise Linux 6 (RHEL6) system at SLAC National AcceleratorLaboratory:

    1.Before you Begino Minimum System Requirementso Preparing to Install

    2.Install Red Hat Enterprise Linux 6o Create an Installation CDROMo Boot the Installation Programo NFS Install Methodo Introductory Screeno Disk Partitionso Selecting Installation

    3.Post Installo Red Hat Welcome

    4.SLAC Configurationo Running Taylor

    o Access to SLAC's MAIL Spool and other NFS serverso Superuser Privileges

    5.Rescue from your CD iso image6.Known Issues

    Please note: These are notcomplete Red Hat Enterprise Linuxinstall instructions; go to theRed Hat Web sitefor more completeinformation.

    Before you Begin

    System Requirements

    http://www.slac.stanford.edu/https://www2.slac.stanford.edu/computinghttps://www2.slac.stanford.edu/computinghttps://www.slac.stanford.edu/comp/unix/unix.htmlhttps://www.slac.stanford.edu/comp/unix/unix.htmlhttps://www.slac.stanford.edu/comp/unix/linux/index.htmlhttps://www.slac.stanford.edu/comp/unix/linux/index.htmlhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#pre_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#pre_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#pre_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#requirementshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#requirementshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#preparationhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#preparationhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhelhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhelhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhelhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#create_install_diskshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#create_install_diskshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#boot_install_pgmhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#boot_install_pgmhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#nfs_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#nfs_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#intro_screenhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#intro_screenhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#disk_partitionshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#select_installationhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#post_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#post_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#post_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#first_boothttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#first_boothttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#running_taylorhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#running_taylorhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#nfs_accesshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#nfs_accesshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#superuser_privshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#rescue_optionhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#rescue_optionhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#rescue_optionhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#known_issueshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#known_issueshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#known_issueshttp://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.htmlhttp://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.htmlhttp://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.htmlhttp://www.slac.stanford.edu/http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.htmlhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#known_issueshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#rescue_optionhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#superuser_privshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#nfs_accesshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#running_taylorhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#first_boothttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#post_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#select_installationhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#disk_partitionshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#intro_screenhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#nfs_installhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#boot_install_pgmhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#create_install_diskshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhelhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#preparationhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#requirementshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#pre_installhttps://www.slac.stanford.edu/comp/unix/linux/index.htmlhttps://www.slac.stanford.edu/comp/unix/unix.htmlhttps://www2.slac.stanford.edu/computing
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    2/19

    ArchitectureThese instructions are for installing Red Hat Enterprise Linux 6(RHEL6) on an IA-32 system (i.e., a 32-bit Intel- or AMD-based system) and Opteron 64-bit systems (x86_64).

    Minimum MemoryRed Hat recommends for 32 bit a minimum of 1GBmemory/logical CPU, and for 64 bit a minimum of 1GB ofmemory, 1GB/logical CPU. At SLAC, RHEL6 has beensuccessfully installed on systems with 512 MB, but suchsystems have a tendency to bog down badly due to excessiveswapping when too many applications are open at once.Minimum Disk SpaceOCIO recommends a minimum disk size of above 12 GB, and aminimum root partition ("/") size of about 9 GB.

    CDROM DriveRed Hat does not include a floppy version of the boot imagesfor RHEL6. Your system will need a boot-capable CDROM drive,or a BIOS which knows how to PXE boot (ask unix-adminabout that if you have questions).

    Preparing to Install

    1.Consider submitting arequestto have OCIO do theinstallation for you.2.Have previous experience installing Red Hat Linux, or elseread theRed Hat Install document.

    3.Have an IP address and node name for your system. Ifnecessary,request an IP Address and Node Name fromyour Desktop admin.

    4.Have available the network and host information requiredby a Red Hat Linux install, which includes (but may notbe limited to): IP address, gateway, netmask and DNSserver (provided by your Desktop admin when you obtainyour IP address); video card/monitor specs (includingsize of video RAM); disk drive size; etc.

    5.If you are an experienced Linux user and intend to retainsome responsibility for administering your system, youmay want to familiarize yourself withTaylorbeforebeginning. This is the tool OCIO uses to adapt systems to

    https://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttp://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.htmlhttp://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.htmlhttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#slac_confighttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-helphttp://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.htmlhttps://www-rt.slac.stanford.edu/rt3/SelfService/Create.html?Queue=it-help
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    3/19

    the SLAC environment and we strongly encourage you touse it.

    6.If you are installing on a machine that waspreviously taylored, you should print a copy of the

    file /etc/taylor.optsbefore beginning.

    This procedure does a "clean install", not an upgrade. If youfollowOCIO recommendationsagainst storing permanent dataon a workstation's system disk, this should not be a problem.If you do have some data you want to preserve on this disk,but it is all stored in a non-system partition, e.g., /u1, youmight be OK, providing your system partitions are largeenough to accommodate RHEL6 with sufficient room for futureupdates (seeDisk Partitions,below). Otherwise, it is your

    responsibility to backup your data before beginning theinstallation. If you must restore it to a local filesystem afterthe installation, we strongly urge you to buy a second disk andkeep permanent data off the system disk.

    You may want to work next to a machine with a web browserand access the Red Hat installation manual from thedocumentation area of theRed Hat web site.

    Install Red Hat Enterprise Linux 6

    The installation program is mostly self-explanatory if you haveinstalled UNIX or Linux before. We will only mention eithercomplex or SLAC-specific issues below.

    Create an Installation CDROM

    To make a bootable CDROM for installing RHEL6, you will needto burn an ISO 9660 image file onto CD-R (or CD-RW) media.On Linux, you can use an application likeXcdroast(requires XWindows) orcdrecord(a command-line tool). On a RHEL5desktop system, double clicking on a file ending in ".iso" willbring up a "Write to Disk" dialog box which can be used toburn a copy of the file to a CD-R disk. Mac OSX can

    https://www.slac.stanford.edu/comp/unix/diskspace.html#Private_Workstation_Spacehttps://www.slac.stanford.edu/comp/unix/diskspace.html#Private_Workstation_Spacehttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#disk_partitionshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#disk_partitionshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#disk_partitionshttp://www.redhat.com/docs/manuals/enterprise/http://www.redhat.com/docs/manuals/enterprise/http://www.redhat.com/docs/manuals/enterprise/http://www.xcdroast.org/http://www.xcdroast.org/http://www.xcdroast.org/http://cdrecord.berlios.de/old/private/cdrecord.htmlhttp://cdrecord.berlios.de/old/private/cdrecord.htmlhttp://cdrecord.berlios.de/old/private/cdrecord.htmlhttp://www.xcdroast.org/http://www.redhat.com/docs/manuals/enterprise/https://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#disk_partitionshttps://www.slac.stanford.edu/comp/unix/diskspace.html#Private_Workstation_Space
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    4/19

    successfully create bootable CDROMs using the CDROMburning utility.

    To create an installation boot CDROM under Linux, using thecdrecord utility:

    1.Find the ISO 9660 disc image for an installation bootCDROM for your architecture and the current RHEL6Update level:

    for 64-bit

    cd/nfs/slac/g/scs/redhat/RedHat/RHEL6/6u1/workstation/x86_64/bootiso/

    ls rhel-workstation-6.1-x86_64-boot.iso

    for 32-bit

    cd/nfs/slac/g/scs/redhat/RedHat/RHEL6/6u1/workstation/i386/bootiso/

    ls rhel-workstation-6.1-i386-boot.iso

    2.Put a blank CD-R (or CD-RW) disc into the CDROM drive.3.To get information about your CDROM drive, run the

    command:4. cdrecord -scanbus dev=/dev/hdc

    You'll get a line that includes some text identifying yourspecific CDROM device, along with the device address; forexample:

    1,0,0 100) '_NEC ' 'CD-RW NR-9300A ' '105B' RemovableCD-ROM

    The first field in this example, "1,0,0", is your CDROMdevice address. This is the information you'll need.

    5.Run a command like the following:6. cdrecord -v -speed=2 dev=1,0,0 -eject -data boot.iso

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    5/19

    On some systems you may need to prefix the deviceaddress with a transport layer indicator, such as 'ATA:' or'ATAPI:', or you may need additional options on thecdrecord command line. See the man page for cdrecord

    for details.

    If you haven't burned any CDROMs before, it's a goodidea to run some tests first by adding the '-dummy'option to the cdrecord command line.

    The ISO image for RHEL6.1 includes a 'Rescue' option.

    See below For Rescue Method instructions.

    Boot the Installation Program

    Stick the CDROM in the drive and reboot your machine.

    If your machine ignores the CDROM at boot time, and simplyreboots the existing system on the hard disk, there is mostlikely a problem with the boot order in the BIOS. You canusually get into the BIOS by pressing a function key (usuallyF2) early in the boot process. The various BIOS screens varyquite a bit, even within a single vendor's products. However,

    there is usually a place where you can specify the order inwhich the BIOS should look for a bootable device. You shouldmake sure it looks at the CDROM drive before the hard disk.

    At the introductory, 'Welcome to Red Hat Enterprise Linux 6.1!'menu, choose 'Install or upgrade an existing system'. Otherpossible choices include'Install system with basic video driver','Rescue installed system', 'Boot from local drive', ora 'Memory test.'

    N.B. If your initial installation attempt fails with a wonkyvideo display, retry with the 'basic video driver'.

    N.B. There may be some variations in the order of thescreens in the installation program depending on your exacthardware configuration and/or the choices you make, so it's

    https://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#rescue_optionhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#rescue_optionhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#rescue_option
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    6/19

    probably a good idea to read through the rest of this sectionbefore proceeding.

    It will take a minute or two to load. Choose 'Skip'to skip themedia test.

    Next, after questions regarding 'Language' and 'Keyboard'choice, the installation proceeds to "Installation Method."

    NFS Install Method

    In the "Installation Method" screen, choose NFS directorytoinsure that the latest SLAC-recommended kernel and RPMs areinstalled. If you install from a CDROM, you may need to

    upgrade the kernel after installation in order to comply withSLAC security requirements.

    Next, you will be asked to configure TCP/IP.

    Under Enable IPv4 supportUncheck Use dynamic IPconfigurationby checking the Manual Configuration.Uncheck Enable IPv6 support. (Movement and select directionsare at the bottom of the screen).

    On the next screen "Manual TCP/IP Configuration" enter the IPAddress, Netmask, Default gatewayand Primarynameserverinformation given to you by your Desktop adminwhen you requested your node name and IP address. Theprimary nameserver is 134.79.18.40.

    WARNING:

    Please be careful to enter this information accurately,because errors can disrupt the network.

    Next you will enter NFS setup information. The NFS server

    nameis lnxinstalland the Red Hat directoriesare:

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    7/19

    For Opteron and EMT64systems: /vol/vol1/g.scs.redhat/RedHat/RHEL6/6u1/

    x86_64.

    For all other systems(Pentium, Athlon,etc.): /vol/vol1/g.scs.redhat/RedHat/RHEL6/6u1/i386.

    If the directory can't be mounted try using lnxinstall's IP

    address, 172.23.16.97, instead of its name.

    Introductory screens

    Note:If you want to capture a particular screen display in theinstallation, to refer to later, you can press 'Print'+'Shift'. The

    screen copy will be stored in /root/anaconda-screenshots/ foryou.

    After the splash RHEL6 screen, the next questions are:

    What type of devices will your installation involve.Choose 'Basic Storage Devices'

    If an existing installation is discovered on the system,you'll be asked if you want a 'Fresh

    Installation' or 'Upgrade an Existing Installation'. Eitherway, assuming you have backed up any important files,choose 'Fresh Installation'

    The 'Please name this computer' should be auto-filled in.You should notneed to 'Configure Network'

    Please select the nearest City in your time zone The rootpassword screen. Choose

    agood rootpasswordand DON'T FORGET IT! SLAC's

    post-installation tool taylorwill override this password.

    'Which type of installation would you like?'Choose 'Create Custom Layout'

    The default partitioning scheme used by the the otheroptions is not suitable for use in the SLAC environment.

    http://www2.slac.stanford.edu/computing/security/password/http://www2.slac.stanford.edu/computing/security/password/http://www2.slac.stanford.edu/computing/security/password/http://www2.slac.stanford.edu/computing/security/password/http://www2.slac.stanford.edu/computing/security/password/http://www2.slac.stanford.edu/computing/security/password/
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    8/19

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    9/19

    WARNING!You should notallocate any partitions on thesystem disk for permanent data. Because of the large sizes ofcurrently available disks, you may be strongly tempted toignore this warning. However, it is very risky to do so,

    because:

    we do not backup the data on local disks attached toworkstations;

    the disks installed in workstation-class machines aremuch less reliable than those we buy for our fileservers;and,

    our support model assumes that it's OK to repartition andre-install the system disk on short notice.

    The best way to make use of extra space on your system diskis to allocate a large /tmp or /scratch partition. If you needadditional permanent space, please contact [email protected]; we will do our best to help youacquire reliable, backed-up storage at a reasonable cost. Ifyou ignore this warning, it will be your responsibility tosave and restore your data the next time your systemneeds to be re-installed.

    Note that partition names and numbers, and the order of thepartitions, are assigned automatically. Also, the actual sizes ofallocated partitions may vary a little bit from what you requestin the GUI interface. This may make it difficult to allocateevery last block on the disk. The OCIO recommendation is touse LVMs and to leave extra room which can be used later.

    Suggested partition schemes for typical hard disks:

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    10/19

    PartitionMount Point

    PartitionType

    Partition Size

    12 GB disk+18 GB or larger

    disk

    / ext4 9 GB 12 GB

    swap swap

    1 x memoryor

    at least 512MB

    2 x memory or

    at least 1 GB

    /var ext4 512 MB 4 GB

    /usr/vice/cache ext4 512 MB 2 GB

    /tmp ext4 512 MB 4 GB

    /scswork ext4 omit 1 GB

    /scratch (or extra /tmpspace)

    ext4 omit remainder

    When you begin, you'll have a screen that appears this way:

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    11/19

    When you are done, You'll have a configuration something likethis:

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    12/19

    There will be two dialog boxes confirming you want to reformatthe disk.

    Boot Loader Configuration

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    13/19

    Accept the defaults for the other options on this screen.

    Selecting Installation

    As stated by the installer, 'The default installation of Red Hat

    Enterprise Linux is a desktop install.' Other choicesinclude, 'Minimal Desktop', 'Web DevlopmentWorkstation', 'Software Devlopment Workstation',and 'Minimal'Please do notinstall the 'Web DevelopmentWorkstation' unless you really know what you are doing andokay it with OCIO first.

    Don't worry too much about getting every package you mightever want -- you can always add additional packages later.

    After this, the installation will begin. It may take 15 minutes toover an hour to install the packages depending on the speed ofyour machine and network.

    Once complete, you'll be presented witha 'Congratulations'screen. NOTEyou'll want to eject your bootCDROM prior to rebooting so you don't boot back to the bootiso image.

    The final installation screen has a 'reboot' bottom on the rightcorner. Again, make sure to remove any CDROM left in thedrive from the initial boot of the installation program.

    Post Install

    Red Hat Welcome

    The first time you boot your newly-installed system in thegraphical run level (run level 5) the Red Hat Welcomescreens may automatically run.

    If you are planning to taylor your system you can skip most orall of these steps -- they are either unneeded or will behandled by taylor.

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    14/19

    The welcome screens are intended for stand-alone systemsand guides you through a number of first time systemadministration tasks such as:

    License InformationYou'll need to agree to the License agreement.

    Set Up Software UpdatesIf running Taylor, then choose 'no'. (You'll need toconfirm 'No Thanks'.)

    Create User, (a non-admin local account)In particular, avoid creating a local account withthe same username as your SLAC UNIX account orregistering personally with RHN. If you plan totaylor the system, you do notneed to create a localaccount. Please do not. For the Create Userscreen'Forward' button with no additions oradjustments.You'll need to confirm you want tocontinue without a user account.

    Date and TimeAccept the defaults.

    KdumpAccept the defaults. Do notchoose to reboot to enablekdumps.

    On the next screen, you'll click on 'Other..' enter 'root' as the

    user and password you picked earlier. You'll see messagesrelated to being logged in as root, and how it's not ideal, butthis okay for this one time. You'll also see missing entitlementsmessages.

    SLAC Configuration

  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    15/19

    WARNING:This is not (yet) for laptop users.

    Taylor is the tool used by OCIO for administering the verylarge number of UNIX (including Linux) systems for which weare responsible. It can be run after the Red Hat installationprogram to automatically configure your new system to beintegrated into the SLAC environment. It normally installs acronjob which will maintain your system automatically.

    Some of the things Taylor does include:

    Configure the network interfaces for the correct subnet atSLAC.

    Set up network services such as NIS, DNS, NTP, andsyslog correctly.

    Install or update recommended software, including AFS,AMD, SSH, and LPRng.

    Update the passwd and groups files to include OCIO-required system accounts and to permit login by users viatheir regular SLAC UNIX accounts (this can be restrictedafter Taylor runs the first time).

    Configure sendmail for SLAC's email environment. Install LPRng to centralize printing. Install some TrueType fonts. Remove or reconfigure some insecure services. Install sudo with a centrally-managed sudoers file (sudo

    is a UNIX tool to allow users to issue privilegedcommands).

    Install and run yum to get updates. Optionally, setup /usr/localto point to SLAC

    AFS /usr/localfor Linux.

    Install an hourly Emergency cronjob that can be used, forexample, to apply urgent security fixes.

    Install a nightly Taylor cronjob to apply routinemaintenance to your system automatically (this cronjobcan be removed, and Taylor re-run by hand from time totime, on mission-critical servers).

    For additional information, see theTaylor Web page.

    https://www.slac.stanford.edu/comp/unix/taylor.htmlhttps://www.slac.stanford.edu/comp/unix/taylor.htmlhttps://www.slac.stanford.edu/comp/unix/taylor.htmlhttps://www.slac.stanford.edu/comp/unix/taylor.html
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    16/19

    Running Taylor

    Taylor uses a configuration file, /etc/taylor.opts, to control

    its actions. If you don't have this file the first time you runTaylor, it will install one with a reasonable set of defaults.However, you may want to set some of these options before

    you run Taylor the first time, since the rootpassword you set

    during installation will otherwise be overridden at this point.

    If your machine was previously taylored, you will most likelywant to restore most or all of the options from your

    old taylor.optsfile (you didprint a copybefore beginning,

    right?). If your machine is connected to a non-autonegotiating(fixed speed) 100 MB/s port, it is particularly important to

    include the option, ethernet=100mb. If you are not sure, omitthis option or check with net-admin or your Desktop Admin.

    If your machine has not been previously taylored, lookin/afs/slac/package/taylor/taylor.optsfor a

    sample taylor.optsfile. In particular, this file includes

    commented out examples examples showing how to:

    Control the root password Select a graphical or text-mode login Request a private /usr/local directory

    For a more complete list of options, do man taylor.opts.

    After running Taylor the first time, if you subsequently need anoption changed and can no longer

    modify /etc/taylor.optsyourself, contact one of your Linux

    Desktop Support people or send mail tounix-admin.

    First get to a terminal prompt from the GUI by selecting fromthe top left of the menu bar "Applications", then 'SystemsTools" and lastly 'Terminal'.

    To install and run Taylor, execute the following command:

    wget -O- http://www.slac.stanford.edu/comp/unix/linux/go-taylor | sh

    https://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#print_taylor.optshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#print_taylor.optshttps://www.slac.stanford.edu/comp/unix/package/misc/taylor/taylor.optshttps://www.slac.stanford.edu/comp/unix/package/misc/taylor/taylor.optsmailto:[email protected]:[email protected]:[email protected]://www.slac.stanford.edu/comp/unix/package/misc/taylor/taylor.optshttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#print_taylor.opts
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    17/19

    You will be asked whether to use the version

    of /usr/localmaintained by OCIO or set up a private

    /usr/local. We highly recommendthat you use the centralone.

    After you are done, on the next reboot you'll be asked if youwant to update standard folders to current language.

    Taylor will probably take several minutes to complete its work.If there is an error and you can see how to fix the problem, it

    is safe to rerun taylorafterward. If you have an error you

    cannot understand or fix, send email tounix-adminto request

    help. If possible, paste the error messages from Taylor into theemail.

    Access to SLAC's MAIL Spool and other NFS servers

    If you receive your email via the UNIX mail spool rather thanSLAC's Exchange server, you'll need access

    to /nfs/mailspool/mail/. Some users may also

    want to access other central NFS file servers from their Linuxworkstations. Access to NFS is not automatic; for securityreasons you must submit a request to OCIO for permission to

    mount our central servers. There is a simpleNFSAccessformfor this purpose if you do not need any superuserprivileges on the machine. If you also need privileges, see thenext section.

    Superuser Privileges

    If you need superuser privileges (i.e., the rootpassword

    and/or sudo ALL) on your machine, you will need to carefully

    read theSuperuser/NFS Privilegespage, then fill out and

    submit the form you'll find there. If you also need NFS access,you must request it via this same form.

    SLAC's RPM Repository

    SLAC maintains a mirror of the Red Hat Enterprise Linux WS 6distribution on a RedHat Linux Satellite Server.

    mailto:[email protected]:[email protected]:[email protected]://www.slac.stanford.edu/comp/unix/nfs-access-req.htmlhttps://www.slac.stanford.edu/comp/unix/nfs-access-req.htmlhttps://www.slac.stanford.edu/comp/unix/nfs-access-req.htmlhttps://www.slac.stanford.edu/comp/unix/nfs-access-req.htmlhttps://www.slac.stanford.edu/comp/unix/nfs-access-req.htmlhttps://www.slac.stanford.edu/comp/unix/superuser-req.htmlhttps://www.slac.stanford.edu/comp/unix/superuser-req.htmlhttps://www.slac.stanford.edu/comp/unix/superuser-req.htmlhttps://www.slac.stanford.edu/comp/unix/nfs-access-req.htmlhttps://www.slac.stanford.edu/comp/unix/nfs-access-req.htmlmailto:[email protected]
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    18/19

    yum

    The yum command is a program that can look at a directory orat an ftp or http site and determine if there are updates to anyof your packages there. If it finds them, it can also installthem. Taylor installs yum and uses it to apply required securityupdates. In addition, Taylor configures yum so that you oryour system admin can use it to install any necessary bug fixRPMs to bring your system up to the latest OCIO-recommended Red Hat update level. The command to do thisis simply,

    sudo yum upgrade

    To find out what yum would do without actually doing it, use

    the command, sudo yum check-update.

    Extras

    Use the GUI program:

    sudo gpk-application

    to find additional RPMS that you might want to install (theprogram is from the gnome-packagekit RPM). You can also findthis program in Gnome under the System menu, then under

    the Adminstration menu, then "Add/Remove Software".

    Rescue from your CD iso image

    1.Boot as you do above in theinstallation section2.Select Rescue from Menu of choices3.Choose a Language4.Choose Keyboard Type5.For Rescue Method - Choose NFS directory6.Configure TCP/IP - Manual configuration7.Give it the path as defined in the install section8.Choose continue step9.This will mount your system under /mnt/sysimage

    - as stated - after pressing [return] to get a shell, you can'chroot

    https://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhelhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhelhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhelhttps://www.slac.stanford.edu/comp/unix/linux/install_RHEL6.html#install_rhel
  • 8/12/2019 Installation of Red Hat Enterprise Linux 6

    19/19

    /mnt/sysimage' to make your environment the root environment. Andyou are in as root

    Known Issues

    There are some known issues with RHEL6. Please see theRHEL6 Release notes for other information:Release Notes

    More Information

    IMPORTANT

    Join the SLAC Linux mailing list to exchange information andadvice with other users. There is a convenientWeb pageforsubscribing or reviewing the archives or you can send mailto [email protected] the first line of the body

    being "subscribe linux-l".

    If you need more information, please have a look at ourLinuxResourcespage.

    unix-admin

    http://www.redhat.com/docs/manuals/enterprise/http://www.redhat.com/docs/manuals/enterprise/http://www/cgi-bin/lwgate/LINUX-Lhttp://www/cgi-bin/lwgate/LINUX-Lhttp://www/cgi-bin/lwgate/LINUX-Lhttps://www.slac.stanford.edu/comp/unix/linux/resources.htmlhttps://www.slac.stanford.edu/comp/unix/linux/resources.htmlhttps://www.slac.stanford.edu/comp/unix/linux/resources.htmlhttps://www.slac.stanford.edu/comp/unix/linux/resources.htmlmailto:[email protected]?subject=Web%20page:%20install_RHEL6.htmlmailto:[email protected]?subject=Web%20page:%20install_RHEL6.htmlmailto:[email protected]?subject=Web%20page:%20install_RHEL6.htmlhttps://www.slac.stanford.edu/comp/unix/linux/resources.htmlhttps://www.slac.stanford.edu/comp/unix/linux/resources.htmlhttp://www/cgi-bin/lwgate/LINUX-Lhttp://www.redhat.com/docs/manuals/enterprise/