SUSE LINUX Enterprise Server
Total Page:16
File Type:pdf, Size:1020Kb
SUSE LINUX Enterprise Server INSTALLATION AND ADMINISTRATION 9. Edition 2004 Copyright © This publication is intellectual property of SUSE LINUX AG. Its contents can be duplicated, either in part or in whole, provided that a copyright label is visibly located on each copy. All information found in this book has been compiled with utmost attention to de- tail. However, this does not guarantee complete accuracy. Neither SUSE LINUX AG, the authors, nor the translators shall be held liable for possible errors or the consequences thereof. Many of the software and hardware descriptions cited in this book are registered trademarks. All trade names are subject to copyright restrictions and may be reg- istered trade marks. SUSE LINUX AG essentially adheres to the manufacturer’s spelling. Names of products and trademarks appearing in this book (with or with- out specific notation) are likewise subject to trademark and trade protection laws and may thus fall under copyright restrictions. Please direct suggestions and comments to [email protected]. Authors: Stefan Behlert, Frank Bodammer, Stefan Dirsch, Olaf Donjak, Roman Drahtmüller, Torsten Duwe, Thorsten Dubiel, Thomas Fehr, Stefan Fent, Werner Fink, Kurt Garloff, Carsten Groß, Joachim Gleißner, Andreas Grünbacher, Franz Hassels, Andreas Jaeger, Klaus Kämpf, Hubert Mantel, Lars Marowsky-Bree, Johannes Meixner, Lars Müller, Matthias Nagorni, Anas Nashif, Siegfried Olschner, Peter Pöml, Thomas Renninger, Heiko Rommel, Marcus Schäfer, Nicolaus Schüler, Klaus Singvogel, Hendrik Vogelsang, Klaus G. Wagner, Rebecca Walter, Christian Zoz Translators: Olaf Niepolt, Daniel Pisano Editors: Jörg Arndt, Antje Faber, Berthold Gunreben, Roland Haidl, Jana Jaeger, Edith Parzefall, Ines Pozo, Thomas Rölz, Thomas Schraitle, Rebecca Walter Layout: Manuela Piotrowski, Thomas Schraitle Setting: DocBook-XML und LATEX This book has been printed on 100 % chlorine-free bleached paper. Contents I Installation 5 1 Installation with YaST 7 1.1 s390, zseries: Booting the System into the Installation Program 8 1.2 Booting into the Installation Program . 8 1.2.1 Possible Problems when Starting from the CD or DVD 8 1.3 The Boot Screen . 10 1.4 Language Selection . 12 1.5 s390, zseries: Hard Disk Configuration . 12 1.6 Installation Mode . 14 1.7 Installation Suggestion . 15 1.7.1 Installation Mode . 15 1.7.2 Keyboard Layout . 15 1.7.3 Mouse . 16 1.7.4 Partitioning . 17 1.7.5 Expert Partitioning with YaST . 23 1.7.6 Software . 29 1.7.7 Boot Configuration (Boot Loader Installation) . 32 1.7.8 Time Zone . 32 1.7.9 Language . 33 1.7.10 Launching the Installation . 34 1.7.11 s390, zseries: IPLing the Installed System . 34 1.7.12 s390, zseries: Connecting to the Installed System . 34 1.8 Finishing the Installation . 35 1.8.1 root Password . 36 1.8.2 Network Configuration . 36 1.8.3 Testing the Internet Connection . 38 1.8.4 Loading Software Updates . 39 1.8.5 Network Services . 39 1.8.6 User Authentication . 41 1.8.7 Configuring the Host as a NIS Client . 42 1.8.8 Creating Local User Accounts . 43 1.8.9 Reading the Release Notes . 44 1.9 Hardware Configuration . 44 1.10 Graphical Login . 46 2 YaST — Configuration 47 2.1 Starting YaST . 48 2.1.1 Running YaST on a Graphical Desktop . 48 2.1.2 Running from a Remote Terminal . 48 2.2 The YaST Control Center . 48 2.3 Software . 49 2.3.1 Change Installation Source . 49 2.3.2 YaST Online Update . 50 2.3.3 Patch CD Update . 53 2.3.4 Installing and Removing Software . 53 2.3.5 System Update . 61 2.3.6 SUSE Software Development Kit (SDK) . 64 2.4 Hardware . 65 2.4.1 CD-ROM Drives . 65 2.4.2 Printer . 66 2.4.3 Hard Disk Controller . 69 2.4.4 Graphics Card and Monitor (SaX2) . 70 2.4.5 Hardware Information . 79 iv Contents 2.4.6 IDE DMA Mode . 80 2.4.7 Mouse . 80 2.4.8 Scanner . 80 2.4.9 Sound . 82 2.5 Network Devices . 84 2.6 Network Services . 84 2.6.1 DHCP Server . 84 2.6.2 Host Name and DNS . 84 2.6.3 NFS Client and NFS Server . 84 2.6.4 Configuration of a Samba Server . 84 2.6.5 Configuration of Samba Clients . 85 2.6.6 NTP Client . 85 2.6.7 Routing . 85 2.6.8 Mail Transfer Agent . 85 2.6.9 Mail Server . 86 2.6.10 Network Services (inetd) . 87 2.7 Security and Users . 88 2.7.1 User Administration . 88 2.7.2 Group Administration . 89 2.7.3 Security Settings . 90 2.7.4 Firewall . 92 2.8 System . 93 2.8.1 Backup Copy of the System Areas . 93 2.8.2 Restoring the System . 93 2.8.3 Creating a Boot, Rescue, or Module Disk . 94 2.8.4 Boot Loader Configuration . 96 2.8.5 LVM . 97 2.8.6 EVMS . 97 2.8.7 Partitioning . 97 2.8.8 Profile Manager (SCPM) . 97 2.8.9 Runlevel Editor . 98 2.8.10 Sysconfig Editor . 98 SUSE LINUX Enterprise Server v 2.8.11 Time Zone Selection . 99 2.8.12 Language Selection . 99 2.8.13 Keyboard Layout Selection . 99 2.9 Miscellaneous . 100 2.9.1 Submitting a Support Request . 100 2.9.2 Boot Log . 100 2.9.3 System Log . 100 2.9.4 Loading a Vendor’s Driver CD . 101 2.10 YaST in Text Mode (ncurses) . 101 2.10.1 Navigation in Modules . 102 2.10.2 Restriction of Key Combinations . 103 2.10.3 Starting the Individual Modules . 104 3 Special Installation Procedures 105 3.1 linuxrc . 106 3.1.1 Main Menu . 107 3.1.2 System Information . 107 3.1.3 Loading Modules . 109 3.1.4 Entering Parameters . 109 3.1.5 Start Installation or System . 111 3.1.6 Potential Problems . 113 3.1.7 Passing Parameters to linuxrc . 114 3.2 Installation with VNC . 115 3.2.1 Preparing for the VNC Installation . 115 3.2.2 Clients for the VNC Installation . 116 3.3 Text-Based Installation with YaST . 116 3.4 Starting SUSE LINUX . 118 3.4.1 The Graphical SUSE Screen . 118 3.5 Special Installation Procedures . 119 3.5.1 Automatic Installation with AutoYaST . 119 3.5.2 Installation from a Network Source . 120 3.6 Tips and Tricks . 122 vi Contents 3.6.1 Creating a Boot Disk in DOS . 122 3.6.2 Creating a Boot Disk in a UNIX-Type System . 124 3.6.3 Booting from a Floppy Disk (SYSLINUX) . 125 3.6.4 Using CD 2 for Booting . 125 3.6.5 Supported CD-ROM Drives . 126 3.7 ATAPI CD-ROM Hangs While Reading . 126 3.8 Permanent Device File Names for SCSI Devices . 127 3.9 Partitioning for Experts . 128 3.9.1 Size of the Swap Partition . 128 3.9.2 Partitioning Proposals for Special Purposes . 128 3.9.3 Optimization . 129 3.10 LVM Configuration . 131 3.10.1 Logical Volume Manager (LVM) . 132 3.10.2 LVM Configuration with YaST . 133 3.10.3 LVM — Partitioning . 133 3.10.4 LVM — Configuring Physical Volumes . 136 3.10.5 Logical Volumes . 137 3.11 Soft RAID . 139 3.11.1 Common RAID Levels . 140 3.11.2 Soft RAID Configuration with YaST . 140 3.11.3 Troubleshooting . 141 3.11.4 For More Information . 141 3.12 Mass storage via IP networks – iSCSI . 142 4 Central software installation and updating 145 4.1 Setting up a central installation server . ..