You are on page 1of 352
 
Red Hat Enterprise Linux 4 
System Administration Guide
 
Red Hat Enterprise Linux 4: System Administration Guide
Copyright © 2005 Red Hat, Inc.
Red Hat, Inc.1801 Varsity DriveRaleigh NC 27606-2072USAPhone:+1 919 754 3700Phone:888 733 4281Fax: +1 919 754 3701PO Box 13588Research Triangle Park NC 27709 USArhel-sag(EN)-4-Print-RHI(2005-06-06T17:10U1)Copyright © 2005 by Red Hat, Inc. This material may be distributedonly subject to the terms and conditionsset forth in theOpen PublicationLicense, V1.0 or later (the latest version is presentlyavailableat http://www.opencontent.org/openpub/).Distributionof substantivelymodified versions of this document is prohibitedwithout the explicit permissionof the copyrightholder.Distributionof the work or derivativeof the work in any standard(paper) book form for commercial purposesis prohibitedunless prior permissionis obtainedfrom the copyrightholder.Red Hat and the Red Hat "Shadow Man" logo are registeredtrademarksof Red Hat, Inc. in the United States and othercountries.All other trademarksreferencedherein are the propertyof their respectiveowners.The GPG fingerprintof the security@redhat.comkey is:CA 20 86 86 2B D6 9D FC 65 F6 EC C4 21 91 80 CD DB 42 A6 0E
 
Table of Contents
Introduction.......................................................................................................................................... i
1. Changes To This Manual ....................................................................................................... i2. Architecture-specific Information.........................................................................................ii3. Document Conventions......................................................................................................... ii4. Activate Your Subscription ................................................................................................... v4.1. Provide a Red Hat Login........................................................................................ v4.2. Provide Your Subscription Number....................................................................... v4.3. Connect Your System............................................................................................ vi5. Using the Mouse.................................................................................................................. vi6. Copying and Pasting Text With X........................................................................................ vi7. More to Come...................................................................................................................... vi7.1. Send in Your Feedback  ......................................................................................... vi
I. Installation-Related Information .................................................................................................... i
1. Kickstart Installations ........................................................................................................... 11.1. What are Kickstart Installations?........................................................................... 11.2. How Do You Perform a Kickstart Installation? ..................................................... 11.3. Creating the Kickstart File..................................................................................... 11.4. Kickstart Options................................................................................................... 21.5. Package Selection ................................................................................................ 181.6. Pre-installation Script........................................................................................... 191.7. Post-installation Script......................................................................................... 211.8. Making the Kickstart File Available .................................................................... 221.9. Making the Installation Tree Available................................................................ 231.10. Starting a Kickstart Installation ......................................................................... 242.
..................................................................................................... 272.1. Basic Configuration ............................................................................................. 272.2. Installation Method.............................................................................................. 282.3. Boot Loader Options............................................................................................ 302.4. Partition Information............................................................................................ 302.5. Network Configuration ........................................................................................ 332.6. Authentication...................................................................................................... 342.7. Firewall Configuration ......................................................................................... 352.8. Display Configuration.......................................................................................... 362.9. Package Selection ................................................................................................ 392.10. Pre-Installation Script ........................................................................................ 392.11. Post-Installation Script....................................................................................... 402.12. Saving the File ................................................................................................... 423. PXE Network Installations ................................................................................................. 433.1. Setting up the Network Server............................................................................. 433.2. PXE Boot Configuration...................................................................................... 433.3. Adding PXE Hosts............................................................................................... 453.4. Starting the
 Server...................................................................................... 463.5. Configuring the DHCP Server............................................................................. 473.6. Adding a Custom Boot Message.......................................................................... 473.7. Performing the PXE Installation.......................................................................... 474. Diskless Environments........................................................................................................ 494.1. Start the
 Server........................................................................................... 494.2. Configuring the DHCP Server............................................................................. 494.3. Configuring the NFS Server................................................................................. 504.4. Finish Configuring the Diskless Environment..................................................... 504.5. Adding Hosts ....................................................................................................... 514.6. Booting the Hosts................................................................................................. 515. Basic System Recovery....................................................................................................... 535.1. Common Problems .............................................................................................. 53

Reward Your Curiosity

Everything you want to read.
Anytime. Anywhere. Any device.
No Commitment. Cancel anytime.
576648e32a3d8b82ca71961b7a986505