Linux System Administration and Backup Tools for IBM Xseries and Netfinity
Total Page:16
File Type:pdf, Size:1020Kb
Linux System Administration and Backup Tools for IBM xSeries and Netfinity The complete guide for system administration tools and choosing the appropriate backup solution for your Linux OS on xSeries and Netfinity Step-by-step basic system administration instructions for Caldera, SuSE, Red Hat, and TurboLinux Install and configure Arkeia, BRU, and BackupEDGE for Linux Jakob Carstensen Rufus Credle Justin Davies Ivo Gomilsek Jay Haskins Georg Holzknecht Ted McDaniel ibm.com/redbooks SG24-6228-00 International Technical Support Organization Linux System Administration and Backup Tools for IBM ^ xSeries and Netfinity February 2001 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix A, “Special notices” on page 253. First Edition (February 2001) This edition applies to system administration and backup instructions of the supported Linux products: Caldera OpenLinux, Red Hat Linux, SuSE Linux, and TurboLinux on IBM ^ xSeries and Netfinity servers. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. HQ7 Building 662 P.O. Box 12195 Research Triangle Park, NC 27709-2195 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2001. All rights reserved. Note to U.S Government Users – Documentation related to restricted rights – Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Preface. vii The team that wrote this redbook. vii Comments welcome. .ix Chapter 1. System administration . 1 1.1 The adminstrative tools of Caldera, Red Hat, SuSE and TurboLinux . 1 1.1.1 Caldera Open Administration System (COAS) . 3 1.1.2 Red Hat Linux. 3 1.1.3 SuSE Linux . 4 1.1.4 TurboLinux . 5 Chapter 2. Caldera OpenLinux basic system administration . 7 2.1 Log in to the system . 7 2.2 Using the Window Manager . 9 2.3 Getting the X-Windows terminal window. 10 2.4 Accessing COAS - Caldera Open Administration System . 11 2.5 Adding and removing software packages using kpackage . 13 2.5.1 Uninstalling a package . 14 2.5.2 Installing a package . 15 2.6 Package management using RPM . 17 2.7 System menu . 18 2.8 Accounts . 19 2.8.1 Managing accounts . 21 2.8.2 Managing groups . 26 2.9 Daemons (services) . 29 2.10 Filesystem . 30 2.10.1 Mounting an NFS volume . 30 2.11 Hostname. 31 2.12 Resources . 31 2.13 Time. 33 2.14 Peripherals menu . 34 2.15 Mouse . 35 2.16 Printer . 36 2.16.1 Adding a new printer. 37 2.16.2 Removing a printer . 39 2.16.3 Edit a printer. 39 2.17 Network menu . 40 2.18 Ethernet interfaces . 42 2.18.1 Adding a new network interface . 43 2.18.2 Removing a network interface . 44 2.19 Name resolution settings . 44 © Copyright IBM Corp. 2001 iii 2.19.1 Name resolution order and sources . 45 2.19.2 Defining a DNS server . 46 2.20 Manipulating kernel modules . 47 2.20.1 Loading a new module . 49 2.20.2 Unloading a new module . 49 2.21 Configuring X-Windows . 50 2.22 System administration using Webmin . 50 Chapter 3. Red Hat Linux basic system administration . 51 3.1 Finding Linux commands . 51 3.2 Package management using RPM . 51 3.3 User administration . 52 3.3.1 Adding users . 53 3.3.2 Modifying users . 56 3.3.3 Deleting users . 57 3.3.4 File system permissions . 58 3.4 Setting up your hardware . 61 3.4.1 Determining your hardware. 61 3.4.2 Loading in your hardware modules . 63 3.4.3 Setting up your network cards . 65 3.4.4 Enabling remote services to your server . 68 3.5 A brief introduction to Linuxconf . 71 3.5.1 Starting Linuxconf. 71 3.5.2 Running Linuxconf . 71 3.5.3 What can I do with Linuxconf? . 72 3.5.4 Enabling a service to start on bootup automatically . 74 3.6 Summary . 77 Chapter 4. SuSE Linux basic system administration . 79 4.1 Adding and removing software packages using YaST . 79 4.2 Package management using RPM . 85 4.3 User and group administration using YaST. 86 4.4 Adding users on the command line. 90 4.4.1 Modifying users - the command line version . 93 4.4.2 Deleting users - the command line version . 93 4.4.3 Group administration using YaST . 94 4.5 Network configuration with YaST . 95 4.6 Changing the configuration file with YaST . 100 4.7 System administration with Yast2 . 103 4.7.1 Yast2: Main window . 104 4.7.2 Yast2: Network configuration . 105 4.7.3 Yast2: NFS configuration . 109 4.7.4 Yast2: Network services configuration . 113 iv Linux System Administration and Backup for IBM ^ xSeries and Netfinity 4.7.5 Yast2: Package maintenance . 116 4.8 Finding Linux commands . 117 4.8.1 File system permissions . 118 Chapter 5. TurboLinux basic system administration . 123 5.1 Configuring X with most Netfinity and xSeries servers . 123 5.1.1 X-Windows configuration and startup . 123 5.1.2 Installing the VESA frame buffer server . 127 5.2 Turbonetcfg . 129 5.3 Turboprintcfg . 132 5.3.1 Configuring locally attached printers. 133 5.3.2 Configuring remote printers over TCP/IP . 136 5.3.3 Adding NetBIOS based remote printers . 138 5.4 Adding and removing software packages . 140 5.4.1 Adding additional packages from the CD-ROM with Turbopkg . 140 5.4.2 Adding packages via FTP with Turbopkg . 143 5.4.3 Removing packages using Turbopkg . 144 5.4.4 Package management using the RPM command . ..