Caldera Openlinux Integration Guide for IBM Xseries and Netfinity
Total Page:16
File Type:pdf, Size:1020Kb
Caldera OpenLinux Integration Guide for IBM xSeries and Netfinity The complete guide to running Caldera OpenLinux on xSeries and Netfinity Netfinity server-specific coverage you can’t find anywhere else, including ServeRAID configuration Plan, configure, and install key services, step-by-step: Samba, Apache, sendmail, DNS, DHCP, LDAP, and more Jakob Carstensen Rufus Credle Justin Davies Ivo Gomilsek Jay Haskins Georg Holzknecht Ted McDaniel ibm.com/redbooks SG24-5861-01 International Technical Support Organization Caldera OpenLinux Integration Guide 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 H, “Special notices” on page 403. Second Edition (February 2001) This edition applies to preparing to or installing Caldera OpenLinux eServer 2.3 on IBM ^ xSeries and Netfinity. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. HQ7 Building 678 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 1999 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....................................................ix The team that wrote this redbook. ...................................x Commentswelcome............................................. xii Chapter 1. Introduction ......................................1 1.1TheIBMcommitmenttoLinux...............................1 1.2CalderaSystems,Inc......................................2 1.3 Introducing the xSeries family of servers .......................2 Chapter 2. Linux installation ..................................3 2.1Knowingyourhardware....................................3 2.2Hardwareconsiderations...................................3 2.2.1 Adaptec SCSI controller ................................4 2.2.2IBMServeRAIDcontroller...............................4 2.2.3 IBM token-ring network adapters . .......................4 2.2.4SystemswithmultiplePCIbuses.........................4 2.3 Updating the BIOS and ServeRAID controller firmware ............4 2.4 Making the CD-ROM bootable . ............................5 2.5BasicLinuxinstallation.....................................5 2.6InstallationonthesystemswithmultiplePCIbuses..............35 2.7InstallationwithServeRAID................................36 2.7.1RecompilingthelatestkernelwithanewServeRAIDdriver....38 2.7.2 Recompiling the new ServeRAID driver into an existing kernel . 42 2.7.3 Installing the Caldera OpenLinux on the ServeRAID 4 . .....45 2.7.4InstallationwithmultiplePCIbusesandServeRAID4 ........48 2.7.5 Installing ipsutils.rpm .................................52 2.7.6 The ipssend commands ...............................55 2.7.7Replacingadefunctdrive..............................67 2.7.8ReplacingadefunctdrivewithdisabledHotSpareRebuild....68 2.7.9Replacingadefunctdrivewithahotsparedriveinstalled......69 2.7.10 Using the ServeRAID Manager utility ....................75 2.7.11 Remote management of ServeRAID adapter . ...........78 2.8Installingandconfiguringtoken-ringnetworkcards..............83 Chapter 3. Basic system administration ........................87 3.1Logintothesystem......................................87 3.2 Using the Window Manager ................................89 3.3 Getting the X-Windows terminal window. ......................90 3.4AccessingCOAS-CalderaOpenAdministrationSystem..........91 3.5 Adding and removing software packages using kpackage .........93 3.5.1Uninstallingapackage................................94 © Copyright IBM Corp. 1999 2001 iii 3.5.2 Installing a package . .................................95 3.6 Package management using RPM ...........................97 3.7Systemmenu...........................................98 3.8 Accounts . ............................................99 3.8.1 Managing accounts . ................................101 3.8.2 Managing groups . ................................106 3.9Daemons(services).....................................109 3.10Filesystem...........................................110 3.10.1 Mounting an NFS volume . ..........................110 3.11Hostname............................................111 3.12Resources...........................................111 3.13Time................................................113 3.14 Peripherals menu . .....................................114 3.15Mouse..............................................115 3.16Printer..............................................116 3.16.1Addinganewprinter................................117 3.16.2Removingaprinter.................................119 3.16.3Editaprinter......................................119 3.17Networkmenu........................................120 3.18Ethernetinterfaces.....................................121 3.18.1Addinganewnetworkinterface.......................122 3.18.2Removinganetworkinterface........................124 3.19Nameresolutionsettings................................124 3.19.1Nameresolutionorderandsources....................125 3.19.2DefiningaDNSserver..............................125 3.20 Manipulating kernel modules . ..........................127 3.20.1 Loading a new module ..............................128 3.20.2 Unloading a new module . ..........................129 3.21 Configuring X-Windows . ................................129 3.22SystemadministrationusingWebmin.......................129 3.22.1Webminsection...................................132 3.22.2Webminsystem...................................132 3.22.3Webminservers...................................134 3.22.4Webminhardware..................................135 3.22.5WebminOthers....................................137 3.23Filesystempermissions.................................138 Chapter 4. General performance tools in Linux .................141 4.1 General configuration hints................................141 4.1.1Services..........................................142 4.1.2Kernelrecompilation.................................143 4.2Systemmonitoringandperformancetesttools.................144 iv Caldera OpenLinux Integration Guide for IBM ^ xSeries and Netfinity Chapter 5. Samba .........................................155 5.1WhatcanyoudowithSamba?.............................155 5.2SettinguptheSambaserver..............................155 5.2.1ConfiguringtheSambaserver.........................157 5.2.2 Starting and stopping the Samba server . ...............165 5.2.3StartingSambaasstartupservice......................166 5.2.4UsingSWAT.......................................167 5.3 Sources of additional information . ..........................185 Chapter 6. DNS - Domain Name System .......................187 6.1Installationofsoftware...................................189 6.2DNSsampleconfiguration................................190 6.3Configurationtips.......................................195 Chapter 7. DHCP - Dynamic Host Configuration Protocol .........197 7.1 What is DHCP? . .....................................197 7.2 Why should I use DHCP? . ................................197 7.3ImplementationonLinux.................................197 Chapter 8. Apache and IBM HTTP Servers .....................199 8.1TheIBMHTTPServer...................................200 8.2ApacheHTTPServerinstallation...........................201 8.3IBMHTTPServerinstallation..............................202 8.3.1 Activating IBM HTTPD on system bootup . ...............205 8.3.2SettinguptheAdministrationServer.....................205 8.4 General performance tips . ................................209 Chapter 9. sendmail .......................................213 9.1 What is sendmail? . .....................................213 9.2 What you can do with sendmail . ..........................213 9.3 Before you begin . .....................................213 9.4Networkconfiguration....................................215 9.5SettinguptheDNSconfiguration...........................216 9.5.1SettingupthemasterDNS............................216 9.5.2 Setting up the DNS for the first subdomain . ...............220 9.5.3 Setting up the DNS for the second subdomain . ..........223 9.5.4 Setting up sendmail . ................................226 9.5.5 Configuring sendmail using Webmin.....................229 9.5.6Settingupthemailclient.............................234 9.6 Sources of additional information . ..........................237 Chapter 10. LDAP - Lightweight Directory Access Protocol .......239 10.1WhatisLDAP?........................................239 10.1.1DirectoryServices.................................239 v 10.1.2X.500...........................................240 10.2HowcanIuseLDAP?..................................240 10.3LDAPbasics..........................................240 10.4ImplementationonLinux................................241 10.4.1 Slapd.conf . .....................................242 10.4.2 ldap.conf.........................................242 10.4.3nsswitch.conf.....................................244 10.4.4/etc/pam.d/login...................................244 10.4.5 Starting OpenLDAP ................................245 10.4.6 Testing authentication