Linux for Dummies 6Th Ed
Total Page:16
File Type:pdf, Size:1020Kb
01_579371 ffirs.qxd 12/27/04 7:54 PM Page i Linux® FOR DUMmIES‰ 6TH EDITION by Dee-Ann LeBlanc 01_579371 ffirs.qxd 12/27/04 7:54 PM Page iv 01_579371 ffirs.qxd 12/27/04 7:54 PM Page i Linux® FOR DUMmIES‰ 6TH EDITION by Dee-Ann LeBlanc 01_579371 ffirs.qxd 12/27/04 7:54 PM Page ii Linux® For Dummies®, 6th Edition Published by Wiley Publishing, Inc. 111 River Street Hoboken, NJ 07030-5774 Copyright © 2005 by Wiley Publishing, Inc., Indianapolis, Indiana Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permit- ted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, e-mail: brand [email protected]. Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without written permission. Linux is a registered trade- mark of Linus Torvalds. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REP- RESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CRE- ATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CON- TAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FUR- THER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. FULFILLMENT OF EACH COUPON OFFER IS THE SOLE RESPONSIBILITY OF THE OFFEROR. For general information on our other 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 technical support, please visit www.wiley.com/techsupport. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Library of Congress Control Number is available from the publisher. ISBN: 0-7645-7937-1 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 6O/RY/QR/QV/IN 01_579371 ffirs.qxd 12/27/04 7:54 PM Page iii About the Author Dee-Ann LeBlanc, RHCE (Red Hat Certified Engineer), is a writer, course developer, instructor, and trainer who specializes in Linux. She is the gaming industry editor for LinuxWorld magazine, and the author of numerous books on Linux and other computer topics. Dee-Ann is also a regular contributor to Computer Power User magazine and the new Tux magazine dedicated to the Linux desktop, among other publications. When Dee-Ann isn’t teaching in person or online classes, developing course materials, writing technical non- fiction or fantasy fiction, chatting about Linux online or at conferences, or trying in one way or another to save the world, she hikes with her dogs and experiments on her husband Rob with new recipes. See the latest that Dee- Ann’s up to and join her readers’ mailing list at www.Dee-AnnLeBlanc.com. (Contact Dee-Ann at [email protected].) 01_579371 ffirs.qxd 12/27/04 7:54 PM Page iv 01_579371 ffirs.qxd 12/27/04 7:54 PM Page v Dedication I dedicate this book to my husband, who always has to listen to my stressed whining when I’m running behind, and my dogs, who really would like their mom to stop staring at the glowing box once in a while. Author’s Acknowledgments I, as usual, have lots of people I’d like to thank. First off, thanks to the folks without whom the earlier editions of this book would have never existed. For one, there’s John “maddog” Hall for giving me the opportunity to take over this book’s evolution. He was too busy leading Compaq’s UNIX Software Group, acting as Executive Director for Linux International, and sitting on the board of advisors for Sair Linux/GNU certification to continue handling this project. There’s also the folks at LANWrights for all their hard work, along with Melanie Hoag and Evan Blomquist for their strong efforts. Finally, of course, to the editors and staff at Wiley Publishing, Inc. Without them and their guidance, this book would not exist or continue to improve over time. Most of all, I’d like to thank the readers who contacted me with their ques- tions, suggestions, and concerns. I apologize to anyone who got lost in the great deluges of e-mail and didn’t get an answer, but please trust that, at the very least, when I dug your e-mail out from the pile three months later, I filed it away as one more thing to consider in the next edition. It’s reader partici- pation that keeps books like this improving over the years, and it’s my goal to continue refining Linux For Dummies to keep it the best desktop Linux book available. 01_579371 ffirs.qxd 12/27/04 7:54 PM Page vi Publisher’s Acknowledgments We’re proud of this book; please send us your comments through our online registration form located at www.dummies.com/register/. Some of the people who helped bring this book to market include the following: Acquisitions, Editorial, Composition and Media Development Project Coordinator: Adrienne Martinez Project Editor: Kelly Ewing Layout and Graphics: Carl Byers, Andrea Dahl, Acquisitions Editor: Terri Varveris Lauren Goddard, Joyce Haughey, Technical Editor: Bryan Hoff Stephanie D. Jumper, Barry Offringa, Lynsey Osborn Editorial Manager: Carol Sheehan Proofreaders: Leeann Harney, Jessica Kramer, Permissions Editor: Laura Moss TECHBOOKS Production Services Media Development Specialist: Travis Silvers Indexer: TECHBOOKS Production Services Media Development Manager: Laura VanWinkle Media Development Supervisor: Richard Graves Editorial Assistant: Amanda Foxworth Cartoons: Rich Tennant (www.the5thwave.com) Publishing and Editorial for Technology Dummies Richard Swadley, Vice President and Executive Group Publisher Andy Cummings, Vice President and Publisher Mary Bednarek, Executive Acquisitions Director Mary C. Corder, Editorial Director Publishing for Consumer Dummies Diane Graves Steele, Vice President and Publisher Joyce Pepple, Acquisitions Director Composition Services Gerry Fahey, Vice President of Production Services Debbie Stailey, Director of Composition Services 02_579371 ftoc.qxd 12/27/04 7:55 PM Page vii Contents at a Glance Introduction ................................................................1 Part I: Getting Your Feet Wet .......................................7 Chapter 1: Getting Acquainted with Linux .....................................................................9 Chapter 2: Prepping Your Computer for Linux ............................................................19 Chapter 3: Installing Fedora Core ..................................................................................39 Chapter 4: Installing Other Linux Distributions ..........................................................65 Chapter 5: Booting and Stopping Linux ........................................................................95 Chapter 6: Checking Out Those Desktops .................................................................105 Chapter 7: Configuring Linux .......................................................................................133 Part II: Internet Now! ..............................................147 Chapter 8: Connecting to the Internet ........................................................................149 Chapter 9: Using the Internet .......................................................................................165 Part III: Getting Up to Speed with Linux ....................191 Chapter 10: Manipulating Files and Directories ........................................................193 Chapter 11: Checking Out the Linux Filesystem ........................................................215 Chapter 12: Adding Software to Linux ........................................................................233 Chapter 13: A Secure Linux Box Is a Happy Linux Box .............................................263