Andrew Hudson and Paul Hudson Fedora™ 7 UNLEASHED 800 East 96th Street, Indianapolis, Indiana 46240 USA Fedora™ 7 Unleashed Acquisitions Editor Copyright © 2008 by Sams Publishing Damon Jordan All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, Development Editor or otherwise, without written permission from the publisher. No patent liability is Michael Thurston assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author Managing Editor assume no responsibility for errors or omissions. Nor is any liability assumed for Gina Kanouse damages resulting from the use of the information contained herein. ISBN-13: 978-0-672-32942-5 Project Editor ISBN-10: 0-672-32942-5 George E. Nedeff Library of Congress Cataloging-in-Publication Data Copy Editor Margo Catts Hudson, Andrew, 1978- Indexer Fedora 7 unleashed / Andrew Hudson, Paul Hudson. Brad Herriman p. cm. ISBN 978-0-672-32942-5 (pbk. w/dvd) Proofreader 1. Linux. 2. Operating systems (Computers) I. Hudson, Paul, 1979- II. Title. Heather Waye Arle Technical Editor QA76.76.O63H794 2007 Dallas Releford 005.4’32—dc22 2007030725 Publishing Coordinator Printed in the United States on America Vanessa Evans First Printing: August 2007 Multimedia Developer Trademarks Dan Scherf All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of Book Designer this information. Use of a term in this book should not be regarded as affecting the Gary Adair validity of any trademark or service mark. Warning and Disclaimer Composition Every effort has been made to make this book as complete and as accurate as possi- Nonie Ratcliff ble, but no warranty or fitness is implied. The information provided is on an “as is” basis. The author(s) and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the DVD or programs accompanying it. Bulk Sales Sams Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact U.S. Corporate and Government Sales 1-800-382-3419 [email protected] For sales outside of the U.S., please contact International Sales [email protected] Contents at a Glance Introduction .................................................................................. 1 Part I Installation and Configuration 1 Installing Fedora............................................................................. 9 2 Fedora Quick Start......................................................................... 41 3 Working with GNOME................................................................... 53 4 Command Line Quickstart.............................................................. 77 Part II Desktop Fedora 5 On the Internet........................................................................... 111 6 Productivity Applications.............................................................. 129 7 Multimedia ................................................................................ 149 8 Printing with Fedora .................................................................... 179 9 Games ....................................................................................... 193 Part III System Administration 10 Managing Users .......................................................................... 205 11 Automating Tasks ........................................................................ 233 12 System-Monitoring Tools .............................................................. 261 13 Backing Up ................................................................................ 271 14 Networking ................................................................................ 297 15 Remote Access with SSH ............................................................... 335 16 Xen........................................................................................... 345 Part IV Fedora As a Server 17 Apache Web Server Management ................................................... 353 18 Administering Database Services .................................................... 389 19 File and Print.............................................................................. 415 20 Remote File Serving with FTP ........................................................ 445 21 Handling Electronic Mail .............................................................. 479 22 Setting Up a Proxy Server ............................................................. 501 23 Managing DNS............................................................................ 511 24 LDAP ........................................................................................ 551 iv Fedora 7 Unleashed Part V Programming Linux 25 Using Perl .................................................................................. 563 26 Working with Python .................................................................. 579 27 Writing PHP Scripts ..................................................................... 599 28 C/C++ Programming Tools for Fedora ............................................. 629 29 Mono ........................................................................................ 641 Part VI Fedora Housekeeping 30 Securing Your Machines ............................................................... 655 31 Performance Tuning .................................................................... 669 32 Command Line Masterclass........................................................... 683 33 Writing and Executing a Shell Script ............................................... 711 34 Advanced Software Management ................................................... 737 35 Managing the File System ............................................................ 757 36 Kernel and Module Management ................................................... 787 Part VII Appendices A The History of Red Hat and Fedora ................................................ 813 B Installation Resources................................................................... 821 C Fedora and Linux Internet Resources ............................................. 847 Table of Contents Introduction 1 Changes from Previous Editions ........................................................ 2 Licensing....................................................................................... 2 Who This Book Is For ...................................................................... 3 What This Book Contains ................................................................ 3 Conventions Used in This Book ........................................................ 5 Part I Installation and Configuration 1 Installing Fedora 9 Before You Begin the Installation....................................................... 9 Planning Partition Strategies ................................................... 10 Choosing How to Install Fedora ...................................................... 14 Installing from CD or DVD ..................................................... 14 Installing Using a Network...................................................... 15 Step-by-Step Installation................................................................. 16 Starting the Install................................................................. 17 Partitioning Your Hard Drive ................................................... 22 Choosing, Configuring, and Installing the Boot Loader ............... 25 Network Configuration .......................................................... 27 Setting the Time Zone ............................................................ 28 Creating a Root Password and User Accounts ............................. 29 Software Selection and Installation........................................... 30 Finishing the Install............................................................... 32 Firstboot Configuration .......................................................... 34 Logging In and Shutting Down ....................................................... 38 Reference..................................................................................... 39 2 Fedora Quick Start 41 The Fedora Desktop....................................................................... 41 Getting Around Fedora .................................................................. 43 The Menu Options ................................................................ 43 Window Selector ................................................................... 44 The Computer Icon ............................................................... 44 The Home Icon ..................................................................... 44 Accessing the Command Line ................................................. 45 vi Fedora 7 Unleashed Available Applications.................................................................... 46 Office Suite .......................................................................... 46 Internet Workstation ............................................................. 46 Multimedia .........................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages936 Page
-
File Size-