ebook img

Red Hat Linux Networking and System Administration PDF

889 Pages·2002·7.818 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Red Hat Linux Networking and System Administration

Your Official Red Hat® Linux® Guide to Networking and System Administration ® ® R eviewed by the experts at Red Hat, this in-depth guide delivers all ® the know-how you need to set up and manage a state-of-the-art Linux network. ® P R E S S™ Red Hat Linux experts Terry Collings and Kurt Wall start with the basics—network planning and Red Hat installation and configuration. Terry Collings & Kurt Wall aR They then show you in detail how to set up network and Internet services, n from establishing a network file system to configuring mail services. Eight e chapters give you the lowdown on customizing the kernel, automating dd tasks with scripting, performing backups, and more—the nuts-and-bolts maintenance information you need to keep your system running smoothly. SH And last but not least, the authors provide nearly 100 pages of proven y CD-ROM INCLUDES strategies and tips for maintaining system security. sa Complete with utilities and code on CD-ROM, this official Red Hat Linux networking and tt Linux guide is the one resource you need for a secure, high-performance e ® administration tools, L Linux network. m including Ethereal, i logcheck, NET-SNMP, n Proven Red Hat Linux Networking and Administration Solutions Nmap, Portsentry, A (cid:1) Plan your network, install Red Hat Linux, and get a handle on the file u Tripwire and SAINT system and configuration files dx trial version (cid:1)Configure TCP/IP networking, the Network File System, and the Net- m ® work Information System N Code, scripts, and ex- (cid:1) Set up print services and connections to Windows and Macintosh clients amples from the book i e (cid:1)Monitor performance, administer users and groups, back up and restore n the file system, and install or upgrade software packages t Plus a searchable i w (cid:1) Design a security plan, implement local security, set up firewalls and s e-version of the book proxy servers, and combat system intrusions to (cid:1) Troubleshoot file system, networking, printing, and e-mail problems r r Reader Level a k TERRY COLLINGS is the Instructional Technologist at Muhlenberg College in Intermediate to t Advanced ii Pennsylvania, where he is responsible for developing smart classroom on technologies. He is also the coauthor of the Linux Bible. Shelving Category Networking ng T Y T OOLSIN KauUtRhTo Wr AoLf Ls ehvaesr walo ortkheedr wbiotohk Ls,i ninucxl uadnidn gU Rneixd fHora tn Linien uyxe a7r.s2 a Wndee ikse tnhde $59.99 USA (cid:19) URIN T H E CD-RCLU Crash Course and Linux Programming by Example. $89.99 Canada EC O OMDE £44.99 UK incl.VAT S D Reviewed by the Experts at Red Hat SECURITY TOOLS Linux Solutions from the Experts at Red Hat www.redhat.com INCLUDED ON CD-ROM ISBN 0-7645-3632-X www.hungryminds.com 55999 Collings Cover design by ® Michael J. Freeland & Wall P R E S S™ ® 9 780764 536328 7 85555 09538 0 Cover photo © Hulton Getty a3632-X FM.F 2/21/02 8:33 AM Page i Red Hat® Linux® Networking and System Administration a3632-X FM.F 2/21/02 8:33 AM Page ii a3632-X FM.F 2/21/02 8:33 AM Page iii Red Hat® Linux® Networking and System Administration Terry Collings and Kurt Wall M&T Books An imprint of Hungry Minds, Inc. Best-Selling Books (cid:2)Digital Downloads (cid:2)e-Books (cid:2)Answer Networks e-Newsletters (cid:2)Branded Web Sites (cid:2)e-Learning New York, NY (cid:2)Cleveland, OH (cid:2)Indianapolis, IN a3632-X FM.F 2/21/02 8:33 AM Page iv Red Hat® Linux® Networking and System Administration Published by Hungry Minds, Inc. 909 Third Avenue New York, NY 10022 www.hungryminds.com Copyright © 2002 Hungry Minds, Inc. All rights reserved. No part of this book, including interior design, cover design, and icons, may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording, or otherwise) without the prior written permission of the publisher. Library of Congress Control Number: 2001093591 ISBN: 0-7645-3632-X Printed in the United States of America 10 9 8 7 6 5 4 3 2 1 1O/RT/QT/QS/IN Distributed in the United States by Hungry Minds, Inc. Distributed by CDG Books Canada Inc. for Canada; by Transworld Publishers Limited in the United Kingdom; by IDG Norge Books for Norway; by IDG Sweden Books for Sweden; by IDG Books Australia Publishing Corporation Pty. Ltd. for Australia and New Zealand; by TransQuest Publishers Pte Ltd. for Singapore, Malaysia, Thailand, Indonesia, and Hong Kong; by Gotop Information Inc. for Taiwan; by ICG Muse, Inc. for Japan; by Intersoft for South Africa; by Eyrolles for France; by International Thomson Publishing for Germany, Austria, and Switzerland; by Distribuidora Cuspide for Argentina; by LR International for Brazil; by Galileo Libros for Chile; by Ediciones ZETA S.C.R. Ltda. for Peru; by WS Computer Publishing Corporation, Inc., for the Philippines; by Contemporanea de Ediciones for Venezuela; by Express Computer Distributors for the Caribbean and West Indies; by Micronesia Media Distributor, Inc. for Micronesia; by Chips Computadoras S.A. de C.V. for Mexico; by Editorial Norma de Panama S.A. for Panama; by American Bookshops for Finland. For general information on Hungry Minds’ products and services please contact our Customer Care department within the U.S. at 800-762-2974, outside the U.S. at 317-572-3993 or fax 317-572-4002. For sales inquiries and reseller information, including discounts, premium and bulk quantity sales, and foreign- language translations, please contact our Customer Care department at 800-434-3422, fax 317-572-4002 or write to Hungry Minds, Inc., Attn: Customer Care Department, 10475 Crosspoint Boulevard, Indianapolis, IN 46256. For information on licensing foreign or domestic rights, please contact our Sub-Rights Customer Care department at 212-884-5000. For information on using Hungry Minds’ products and services in the classroom or for ordering examination copies, please contact our Educational Sales department at 800-434-2086 or fax 317-572-4005. For press review copies, author interviews, or other publicity information, please contact our Public Relations department at 650-653-7000 or fax 650-653-7500. For authorization to photocopy items for corporate, personal, or educational use, please contact Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, or fax 978-750-4470. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND AUTHOR HAVE USED THEIR BEST EFFORTS IN PREPARING THIS BOOK. THE PUBLISHER AND AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS BOOK AND SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. THERE ARE NO WARRANTIES WHICH EXTEND BEYOND THE DESCRIPTIONS CONTAINED IN THIS PARAGRAPH. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES REPRESENTATIVES OR WRITTEN SALES MATERIALS. THE ACCURACY AND COMPLETENESS OF THE INFORMATION PROVIDED HEREIN AND THE OPINIONS STATED HEREIN ARE NOT GUARANTEED OR WARRANTED TO PRODUCE ANY PARTICULAR RESULTS, AND THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY INDIVIDUAL. NEITHER THE PUBLISHER NOR AUTHOR SHALL BE LIABLE FOR ANY LOSS OF PROFIT OR ANY OTHER COMMERCIAL DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR OTHER DAMAGES. Trademarks:Hungry Minds and the Hungry Minds logo are trademarks or registered trademarks of Hungry Minds. Red Hat, Red Hat Press, and the Red Hat Press logo are trademarks or registered trademarks of Red Hat, Inc. Linux is a trademark or registered trademark of Linus Torvalds. All other trademarks are property of their respective owners. Hungry Minds, Inc., is not associated with any product or vendor mentioned in this book. is a trademark of Hungry Minds, Inc. is a trademark of Hungry Minds, Inc. a3632-X FM.F 2/21/02 8:33 AM Page v About the Authors Terry Collings has been working in the computer field since 1981 and has experience in all types of operating systems and their associated hardware. He has industry certifications in Novell, TCP/IP, MS Windows, and Unix. Terry’s full-time job is at Muhlenberg College in Allentown, PA, where he is the school’s Instructional Technologist. His main function in this position is assisting faculty in the use of computer technology to augment their classroom presentations. He is also the system administrator for the school’s online course content management software. Terry also teaches a wide range of computer and technology-related courses in the evenings at Allentown Business School. Terry has been a technical editor for several Hungry Minds, Inc., books and is the co-author of the Linux Bible. He can be reached at [email protected]. Kurt Wall first touched a computer in 1980 when he learned FORTRAN on an IBM mainframe of forgotten vintage; things have only gotten better since then. These days, Kurt is a full-time Linux and Unix author, editor, consultant, and programmer. He has written five books about Linux and Unix programming and system administration, is working on his sixth, and is the technical editor for over a dozen other Linux- and Unix-related titles. Currently, Kurt works from his home in Indianapolis. He can be reached via e-mail at [email protected]. a3632-X FM.F 2/21/02 8:33 AM Page vi Credits CONTRIBUTING WRITERS QUALITY CONTROL TECHNICIANS Viktorie Navratilova Laura Albert Dennis Powell Luisa Perez Brandon Wiley Carl Pierce Marianne Santy ACQUISITIONS EDITOR Terri Varveris SENIOR PERMISSIONS EDITOR Carmen Krikorian PROJECT EDITOR Martin V. Minner MEDIA DEVELOPMENT SPECIALIST Greg Stephens TECHNICAL EDITORS Joel Lee MEDIA DEVELOPMENT COORDINATOR Matt Hayden Marisa Pearman Sandra Moore COVER DESIGN COPY EDITOR Michael Freeland Marti Paul COVER PHOTO RED HAT PRESS LIAISON Hulton Getty Lorien Golaski, Red Hat Communications Manager PROOFREADING AND INDEXING TECHBOOKS Production Services PROJECT COORDINATOR Dale White GRAPHICS AND PRODUCTION SPECIALISTS Beth Brooks Sean Decker Melanie DesJardins Jeremey Unger a3632-X FM.F 2/21/02 8:33 AM Page vii This book is dedicated to the victims and heroes of September 11, 2001. a3632-X FM.F 2/21/02 8:33 AM Page viii a3632-X FM.F 2/21/02 8:33 AM Page ix Preface Red Hat Linux is the most popular distribution of Linux currently in use. Red Hat Linux has shown itself to be a robust, reliable operating system that can run on a variety of hardware, from personal computers to large mainframes. Linux in general, and Red Hat Linux in particular, is a very powerful operating system that can be used at the enterprise level as a full-fledged server, as well as at the workstation level for typical user applications. For those of us dissatisfied with the reliability of other com- mercially available operating systems, Red Hat Linux is a pleasant alternative. How This Book Is Organized This book is divided into five parts. Each part covers a specific area of functionality in a typical Red Hat Linux system. Part I—Red Hat Linux System and Network Administration Defined This part describes the duties of a system administrator. Chapter 1 explains some of the more common tasks, such as installing servers and application software, managing user accounts, and backing up and restoring files. Many more topics are covered in this chapter. Chapter 2 details the steps involved in planning and build- ing a network and planning for security and disaster recovery. Chapter 3 takes you through the steps required to install Red Hat Linux on a local system as well as on a remote system. Chapter 4 gives an explanation of the Red Hat Linux file system and storage devices. Chapter 5, the last chapter in Part I, lists the system and network configuration files and their uses. Part II—Red Hat Linux Network Services This part of the book is where you learn about the networking services available in Red Hat Linux. Chapter 6 gives an explanation of the TCP/IP protocol suite and how to configure it on your system. Chapter 7 tells how to configure the Network File System (NFS) for sharing files with other Linux or Unix computers on your network. Chapter 8 provides a description of the Network Information System (NIS) as well as configuration instructions. If you have computers running Microsoft operating systems, Chapter 9 is where you find instructions for connecting your Red Hat Linux network to the Windows network. The final chapter in this part, Chapter 10, tells you how to connect your Red Hat Linux network to computers running the Apple operating system. ix

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.