Red Hat Linux 5.2
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat Linux 5.2 The Official Red Hat Linux Installation Guide Red Hat Software, Inc. Research Triangle Park, North Carolina Copyright c 1995, 1996, 1997, 1998 Red Hat Software, Inc. Red Hat is a registered trademark and the Red Hat Shadow Man logo, RPM, the RPM logo, and Glint are trademarks of Red Hat Software, Inc. Linux is a registered trademark of Linus Torvalds. Motif and UNIX are registered trademarks of The Open Group. Alpha is a trademark of Digital Equipment Corporation. SPARC is a registered trademark of SPARC International, Inc. Products bearing the SPARC trade- marks are based on an architecture developed by Sun Microsystems, Inc. Netscape is a registered trademark of Netscape Communications Corporation in the United States and other countries. Windows is a registered trademark of Microsoft Corporation. All other trademarks and copyrights referred to are the property of their respective owners. ISBN: 1-888172-19-3 Revision: Inst-5.2-Print-RHS (10/98) Red Hat Software, Inc. 4201 Research Commons, Suite 100 79 T. W. Alexander Drive P. O. Box 13588 Research Triangle Park, NC 27709 (919) 547-0012 [email protected] http://www.redhat.com While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein. The Official Red Hat Linux 5.2 Installation Guide may be reproduced and distributed in whole or in part, in any medium, physical or electronic, so long as this copyright notice remains intact and unchanged on all copies. Commercial redistribution is permitted and encouraged, but you may not redistribute it, in whole or in part, under terms more restrictive than those under which you received it. Printed in Canada Contents 1 New Features Of Red Hat Linux 5.2 1 1.1 Installation-Related Enhancements ............................. 1 1.2 System Administration-Related Enhancements . ................... 2 1.3 Miscellaneous New Features . ................................ 4 2 Before You Begin 5 2.1 Getting Documentation .................................... 6 2.2 Getting the Right Red Hat Linux Components ....................... 6 2.3 Things You Should Know . ................................ 10 2.4 Installation Methods ...................................... 14 2.5 Need a Supplemental Diskette? ............................... 18 2.6 Installation Classes ...................................... 19 2.7 Disk Partitions ......................................... 21 2.8 A Note About Kernel Drivers ................................ 28 2.9 If You Have Problems. ................................ 28 2.10 One Last Note ......................................... 28 3 Starting the Installation 29 3.1 The Installation Program User Interface ........................... 29 3.2 Starting the Installation Program ............................... 32 3.3 Beginning the Installation . ................................ 34 3.4 Selecting an Installation Method ............................... 36 iv CONTENTS 4 Continuing the Installation 43 4.1 Upgrading or Installing .................................... 43 4.2 Installation Class ........................................ 44 4.3 SCSI Support .......................................... 46 4.4 Creating Partitions for Red Hat Linux ............................ 46 4.5 Initializing Swap Space .................................... 56 4.6 For FTP Installations Only. ................................. 56 4.7 For SMB Installations Only. ................................ 57 4.8 For Hard Drive Installations Only. ............................ 59 4.9 Formatting Partitions . .................................... 59 4.10 Selecting and Installing Packages .............................. 60 5 Finishing the Installation 65 5.1 Configuring a Mouse . .................................... 65 5.2 Configuring X Windows ................................... 66 5.3 Configuring Networking ................................... 68 5.4 Configuring the Clock . .................................... 69 5.5 Selecting Services for Start on Reboot ............................ 69 5.6 Configuring a Printer . .................................... 70 5.7 Setting a Root Password ................................... 76 5.8 Creating a Boot Diskette ................................... 77 5.9 Installing LILO ......................................... 78 5.10 Finishing Up. ........................................ 81 6 What Do I Do Now? 83 6.1 Getting the Documentation That’s Right For You ..................... 83 6.2 Basic System Tasks . .................................... 86 6.3 The X Window System .................................... 91 6.4 Configuring Your Red Hat Linux System For Sound .................... 96 CONTENTS v 6.5 Mouse configuration ..................................... 99 6.6 World Wide Web ........................................ 99 7 Finding Documentation 101 7.1 On Line Help .......................................... 101 7.2 Help from the Internet Community ............................. 106 8 System Configuration 109 8.1 System Configuration With Linuxconf ........................... 110 8.2 System Configuration With the Control Panel ....................... 150 9 Package Management with RPM 165 9.1 RPM Design Goals ....................................... 165 9.2 Using RPM ........................................... 166 9.3 Impressing Your Friends with RPM ............................. 171 9.4 Other RPM Resources ..................................... 173 10 Glint 175 10.1 Starting glint .......................................... 176 10.2 The Package Display ..................................... 176 10.3 Configuration ......................................... 178 10.4 Package Manipulation ..................................... 179 11 System Administration 185 11.1 Filesystem Structure ...................................... 185 11.2 Special Red Hat File Locations ................................ 189 11.3 Users, Groups and User-Private Groups .......................... 189 11.4 User Authentication with PAM ................................ 193 11.5 Shadow Utilities ........................................ 196 11.6 Building a Custom Kernel . ................................ 197 11.7 Sendmail ............................................ 200 11.8 Controlling Access to Services ................................ 201 vi CONTENTS 11.9 Anonymous FTP ........................................ 202 11.10NFS Configuration . .................................... 202 11.11 The Boot Process, Init, and Shutdown............................ 204 11.12Rescue Modes ......................................... 215 A Getting Technical Support 217 A.1 An Overview of Our Support Policy ............................. 217 A.2 Getting Support ........................................ 219 A.3 Support FAQ (Frequently Asked Questions) . ....................... 222 B Making Installation Diskettes 225 B.1 Making a Diskette Under MS-DOS ............................. 226 B.2 Making a Diskette Under a Linux-like O/S . ....................... 226 C Package List 227 C.1 Applications .......................................... 229 C.2 Base ............................................... 240 C.3 Daemons ............................................ 242 C.4 Development .......................................... 244 C.5 Documentation ......................................... 253 C.6 Extensions ........................................... 256 C.7 Games .............................................. 257 C.8 Libraries ............................................ 258 C.9 Networking .......................................... 261 C.10 Shells .............................................. 270 C.11 Utilities ............................................. 271 C.12 X11 ............................................... 286 D General Parameters and Modules 301 D.1 CD-ROM parameters . .................................... 302 D.2 SCSI parameters ........................................ 302 D.3 Ethernet parameters . .................................... 303 CONTENTS vii D.4 Network Module Listing . ................................ 304 E Red Hat Linux Installation Support FAQ 307 E.1 Introduction .......................................... 307 E.2 Errata . ............................................. 307 E.3 Contacting Red Hat Software . ................................ 308 E.4 General Resources List .................................... 308 E.5 General Questions ....................................... 310 E.6 Installation ........................................... 312 E.7 Using Red Hat Linux ..................................... 325 E.8 X Window System....................................... 328 E.9 System Administration .................................... 335 E.10 Network Administration . ................................ 348 E.11 Printer Administration .................................... 350 E.12 Appendix (Long answers) . ................................ 351 F Information Specific to Red Hat Linux/SPARC 353 F.1 Supported Hardware ..................................... 353 F.2 Installation Overview ..................................... 355 F.3 Console Commands ...................................... 355 F.4 Ramdisk-based Installation Criteria ............................. 356 F.5 Choosing a Boot Method . ................................ 357 F.6 Choosing an Installation Method .............................. 360 F.7 Installation Using a Serial Terminal ............................. 361 F.8 Installation: