Linux for IBM Zseries and S/390: Distributions
Total Page:16
File Type:pdf, Size:1020Kb
Front cover Linux for IBM zSeries and S/390: Distributions SuSE, Turbolinux and Red Hat Linux on the mainframe Installation under LPAR, z/VM and VIF Other distributions and topics addressed Michael MacIsaac Ronald Annuss, Wolfgang Engel Chris Gombola, Timothy Nunes Mark Post, Don Stubbs Egon Terwedow, Craig Vernon ibm.com/redbooks International Technical Support Organization Linux for IBM ^ zSeries and S/390: Distributions September 2001 SG24-6264-00 Take Note! Before using this information and the product it supports, be sure to read the general information in “Special notices” on page 551. First Edition (September 2001) This edition applies to many Linux distributions (see 1.2.3, “Linux distributions” on page 9), z/VM V4.1 (ESP) and VIF V1.0.0, SL0500. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. HYJ Mail Station P099 2455 South Road Poughkeepsie, NY 12601-5400 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 . xv The team that wrote this redbook. xv Special notice . xviii IBM trademarks . xix Comments welcome. xix Part 1. Linux overview. 1 Chapter 1. Overview . 3 1.1 A brief history . 4 1.2 Systems used for this redbook . 8 1.2.1 Processor . 8 1.2.2 DASD . 9 1.2.3 Linux distributions . 9 Chapter 2. Planning for Linux . 11 2.1 Planning hardware . 12 2.1.1 Integrated Facility for Linux (IFL) . 13 2.1.2 Planning DASD . 13 2.1.3 Planning for tape devices . 15 2.2 Planning networking . 15 2.2.1 Physical networking . 15 2.2.2 Virtual networking . 16 2.2.3 Linux OSA cards and drivers . 16 2.2.4 IBM 2216. 22 2.2.5 CTC. 22 2.2.6 TCP/IP calculations. 22 2.2.7 Maximum Transmission Unit (MTU) sizes . 23 2.3 Planning for Linux distribution and software . 24 2.3.1 Planning file systems . 24 2.4 Roadmap . 26 Chapter 3. Preparation . 27 3.1 Prepare the VM guest for Linux . 28 3.1.1 The VM user directory. 28 3.1.2 Processing the VM user directory . 29 3.1.3 Editing the PROFILE EXEC and XEDIT PROFILE . 29 3.1.4 Getting the installation files for VM . 30 3.1.5 Booting the installation kernel from the VM reader . 31 © Copyright IBM Corp. 2001 iii 3.2 Prepare the LPAR for Linux . 31 3.3 Swap space size and type . 33 3.4 Booting the installation kernel in an LPAR . 34 3.4.1 Using the ICKDSF bootstrap. 34 3.4.2 Booting from HMC CD-ROM or FTP server . 35 3.4.3 Booting from tape . 44 Part 2. Strategic Linux distributions . 53 Chapter 4. Overview of SuSE Linux . 55 4.1 Getting the SuSE distribution . 56 4.1.1 Via SuSE sales . 56 4.1.2 Via FTP site. 56 4.2 Documentation included with the SuSE distribution . 57 4.3 Software components of the distribution . 58 4.4 How does SuSE Linux differ . 60 Chapter 5. Installing SuSE Linux . 61 5.1 General installation considerations. 62 5.1.1 Boot file processing. 62 5.1.2 DASD considerations . 62 5.1.3 Installation options and DASD requirements . 63 5.2 Installing SuSE under VM. 64 5.2.1 SuSE under VM checklist . 64 5.2.2 Installing SuSE Linux under VM . 65 5.2.3 Transferring installation system files to your VM guest. 65 5.2.4 Logging in via telnet and completing the install via YaST . 71 5.3 SuSE installation in an LPAR . 88 5.4 Installing SuSE under VIF . 89 5.5 Assessing the SuSE installation experience . 89 Chapter 6. Customizing and using SuSE Linux . 91 6.1 Using YaST . 92 6.2 Samba installation . 95 6.2.1 Install from an RPM. 95 6.2.2 Samba configuration . 95 6.2.3 Samba password encryption. 98 6.2.4 Using SWAT . 100 6.2.5 Samba documentation . 101 6.3 Apache Web server . 102 6.3.1 Apache configuration . 102 6.3.2 Password-protecting a directory . 103 6.3.3 Enabling CGI scripts . 107 6.4 e-mail . 107 iv Linux for IBM ^ zSeries and S/390: Distributions 6.5 Setting up LVM with YaST . 108 6.6 Graphical interface . 113 Chapter 7. Overview of Turbolinux . 115 7.1 History . 116 7.2 Getting the Turbolinux distribution . 116 7.2.1 Downloading the CD-ROM images . 117 7.2.2 Purchasing the distribution . 117 7.3 Available documentation . 118 7.4 Notable characteristics of Turbolinux . 118 7.4.1 Standardized customization and usage . 119 Chapter 8. Installing Turbolinux. 121 8.1 Turbolinux installation worksheet . ..