Debian GNU Linux Bible.Pdf
Total Page:16
File Type:pdf, Size:1020Kb
4710-0 Cover 3/30/01 11:56 AM Page 1 If Debian GNU/Linux can do it, you can do it too . “Steve Hunger’s book is the most comprehensive and up-to-date guide to Debian GNU/Linux in print.” Whether you’re a Linux newcomer looking for foolproof installation tips or a Debian GNU/ veteran who wants 100% COMPREHENSIVE 100% —Branden Robinson, Debian Developer the scoop on the latest security enhancements, this authoritative guide delivers all the information you need ONE HUNDRED PERCENT Debian GNU/Linux to make the most of the Debian GNU/ “potato” release. From customizing a desktop system to troubleshooting Debian GNU/Linux COMPREHENSIVE AUTHORITATIVE a network or setting up an e-commerce server, it’s the only reference you’ll ever need to become a Debian WHAT YOU NEED GNU/Linux pro. ONE HUNDRED PERCENT Inside, you’ll find Master Linux system complete coverage of Configure the Debian L administration Debian GNU/Linux interface for your special requirements Discover the power ® ® • Get crystal-clear instructions for fast, painless of Debian’s package installation management system • Learn your way around the Linux shell, file Build a network and system, and X Window System Monitor your set up Linux servers • Discover how easy it is to set up a LAN Web server in Debian and connect to the Internet with Debian L packages • Make the most of Linux desktop applications, games, and multimedia features • Master Linux administration, from automating system tasks to locking in security ® • Find guidance on how to keep Debian current Combine the and bug-free simplicity of a L ® • Get the scoop on configuring servers, from window manager ® ebian with up-to-date Apache and FTP to NIS and Sendmail graphic controls HUNGER D ® Debian GNU/Linux 2.2r2 inside www.hungryminds.com GNU/Linux System Requirements: $49.99 USA Reader Level: Shelving Category: Bible Intel 386 or better; 150MB+ hard drive space; $74.99 Canada Beginning to Advanced Linux 16MB+ RAM; CD-ROM drive £39.99 UK incl. VAT Debian GNU/ Linux 2.2r2 on CD-ROM ISBN 0-7645-4710-0 BONUS CD-ROM Debian GNU/Linux 2.2r2 Steve Hunger *85555-ACJDHi ,!7IA7G4-fehbac!:p;o;t;T;T Foreword by Ian Murdock, Founder of Debian and now Cofounder of Progeny Linux Systems 4710-0 Cover 3/30/01 11:57 AM Page 2 If Debian GNU/Linux can do it, you can do it too . “Steve Hunger’s book is the most comprehensive and up-to-date guide to Debian GNU/Linux in print.” Whether you’re a Linux newcomer looking for foolproof installation tips or a Debian GNU/ veteran who wants 100% 100% —Branden Robinson, Debian Developer the scoop on the latest security enhancements, this authoritative guide delivers all the information you need to make the most of the Debian GNU/ “potato” release. From customizing a desktop system to troubleshooting a Debian GNU/Linux COMPREHENSIVE AUTHORITATIVE network or setting up an e-commerce server, it’s the only reference you’ll ever need to become a Debian GNU/ WHAT YOU NEED Linux pro. Inside, you’ll find Master Linux system complete coverage of L administration Debian GNU/Linux Discover the power ® • Get crystal-clear instructions for fast, painless of Debian’s package installation management system • Learn your way around the Linux shell, file a network and system, and X Window System Build set up Linux servers • Discover how easy it is to set up a LAN in Debian and connect to the Internet L • Make the most of Linux desktop applications, games, and multimedia features • Master Linux administration, from automating system tasks to locking in security ® • Find guidance on how to keep Debian current and bug-free L • Get the scoop on configuring servers, from ® ebian Apache and FTP to NIS and Sendmail HUNGER D ® www.hungryminds.com GNU/Linux Bible Steve Hunger Foreword by Ian Murdock, Founder of Debian and now Cofounder of Progeny Linux Systems 4710-0 FM.F 4/10/01 3:38 PM Page i Debian GNU/Linux® Bible 4710-0 FM.F 4/10/01 3:38 PM Page iii Debian GNU/Linux® Bible Steve Hunger Hungry Minds, Inc. Indianapolis, IN ✦ Cleveland, OH ✦ New York, NY 4710-0 FM.F 4/10/01 3:38 PM Page iv Debian GNU/Linux® Bible Computer Publishing Corporation, Inc., for the Published by Philippines; by Contemporanea de Ediciones for Hungry Minds, Inc. Venezuela; by Express Computer Distributors for the 909 Third Avenue Caribbean and West Indies; by Micronesia Media New York, NY 10022 Distributor, Inc. for Micronesia; by Chips www.hungryminds.com Computadoras S.A. de C.V. for Mexico; by Editorial Norma de Panama S.A. for Panama; by American Copyright 2001 Hungry Minds, Inc. All rights Bookshops for Finland. reserved. No part of this book, including interior design, cover design, and icons, may be reproduced For general information on Hungry Minds’ products or transmitted in any form, by any means (electronic, and services please contact our Customer Care photocopying, recording, or otherwise) without the department within the U.S. at 800-762-2974, outside prior written permission of the publisher. the U.S. at 317-572-3993 or fax 317-572-4002. Library of Congress Catalog Card No.: 2001089113 For sales inquiries and reseller information, including discounts, premium and bulk quantity sales, and ISBN: 0-7645-4710-0 foreign-language translations, please contact our Printed in the United States of America Customer Care department at 800-434-3422, fax 10 9 8 7 6 5 4 3 2 1 317-572-4002 or write to Hungry Minds, Inc., Attn: Customer Care Department, 10475 Crosspoint 1B/SW/QU/QR/IN Boulevard, Indianapolis, IN 46256. Distributed in the United States by For information on licensing foreign or domestic Hungry Minds, Inc. rights, please contact our Sub-Rights Customer Care Distributed by CDG Books Canada Inc. for Canada; by department at 212-884-5000. Transworld Publishers Limited in the United For information on using Hungry Minds’ products Kingdom; by IDG Norge Books for Norway; by IDG and services in the classroom or for ordering Sweden Books for Sweden; by IDG Books Australia examination copies, please contact our Educational Publishing Corporation Pty. Ltd. for Australia and Sales department at 800-434-2086 or fax 317-572-4005. New Zealand; by TransQuest Publishers Pte Ltd. for Singapore, Malaysia, Thailand, Indonesia, and Hong For press review copies, author interviews, or other Kong; by Gotop Information Inc. for Taiwan; by ICG publicity information, please contact our Public Muse, Inc. for Japan; by Intersoft for South Africa; by Relations department at 650-653-7000 or fax Eyrolles for France; by International Thomson 650-653-7500. Publishing for Germany, Austria, and Switzerland; by For authorization to photocopy items for corporate, Distribuidora Cuspide for Argentina; by LR personal, or educational use, please contact International for Brazil; by Galileo Libros for Chile; by Copyright Clearance Center, 222 Rosewood Drive, Ediciones ZETA S.C.R. Ltda. for Peru; by WS 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: All brand names and product names used in this book are trade names, service marks, trademarks, or registered trademarks of their respective owners. All other trademarks are the 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. 4710-0 FM.F 4/10/01 3:38 PM Page v About the Author Steve Hunger has spent the last 10 years in the computer industry, the last four supporting and integrating multiple platforms for a Fortune 500 Company. Having been introduced to UNIX while attending Purdue University, he quickly latched onto Linux as the primary platform for his startup Web hosting and development busi- ness in 1996. He continues operating his Web business, consulting with local busi- nesses, and freelance writing. When not conquering the world with Linux, he has co-written and contributed to several books for Macmillan USA and Brady Games, including work on the line of Mandrake Linux products. His latest work has been for AOL Press called Powering Up the Internet. In his spare time he enjoys relaxing with his wife, riding bicycles, and tinkering with an R/C model that is evolving into something that looks amazing like a plane. He is also on the Board of Directors for the Central Indiana Linux Users Group (www.cinlug.org). Steve can be reached at [email protected]. 4710-0 FM.F 4/10/01 3:38 PM Page vi Credits Acquisitions Editor Quality Control Technicians Terri Varveris David Faust Susan Moritz Project Editor Marianne Santy Gus A. Miklos Charles Spencer Technical Editor Permissions Editor Steve Schafer Laura Moss Copy Editors Media Development Specialist Victoria Lee O’Malley Travis Silvers Luann Rouff Media Development Coordinator Project Coordinator Marisa Pearman Dale White Proofreading and Indexing Graphics and Production Specialists York Production Services, Inc.