Fedora Core Works--Without the Fluff That Bogs Down Other Books and Help/How-To Web Sites
Total Page:16
File Type:pdf, Size:1020Kb
Fedora Linux By Chris Tyler ............................................... Publisher: O'Reilly Pub Date: October 01, 2006 ISBN-10: 0-596-52682-2 ISBN-13: 978-0-596-52682-5 Pages: 504 Table of Contents | Index "Neither a "Starting Linux" book nor a dry reference manual, this book has a lot to offer to those coming to Fedora from other operating systems or distros." -- Behdad Esfahbod, Fedora developer This book will get you up to speed quickly on Fedora Linux, a securely-designed Linux distribution that includes a massive selection of free software packages. Fedora is hardened out-of-the-box, it's easy to install, and extensively customizable - and this book shows you how to make Fedora work for you. Fedora Linux: A Complete Guide to Red Hat's Community Distribution will take you deep into essential Fedora tasks and activities by presenting them in easy-to-learn modules. From installation and configuration through advanced topics such as administration, security, and virtualization, this book captures the important details of how Fedora Core works--without the fluff that bogs down other books and help/how-to web sites. Instead, you can learn from a concise task-based approach to using Fedora as both a desktop and server operating system. In this book, you'll learn how to: Install Fedora and perform basic administrative tasks Configure the KDE and GNOME desktops Get power management working on your notebook computer and hop on a wired or wireless network Find, install, and update any of the thousands of packages available for Fedora Perform backups, increase reliability with RAID, and manage your disks with logical volumes Set up a server with file sharing, DNS, DHCP, email, a Web server, and more Work with Fedora's security features including SELinux, PAM, and Access Control Lists (ACLs) Whether you are running the stable version of Fedora Core or bleeding-edge Rawhide releases, this book has something for every level of user. The modular, lab-based approach not only shows you how things work-but also explains why--and provides you with the answers you need to get up and running with Fedora Linux. Chris Tyler is a computer consultant and a professor of computer studies at Seneca College in Toronto, Canada where he teaches courses on Linux and X Window System Administration. He has worked on systems ranging from embedded data converters to Multics mainframes. Fedora Linux By Chris Tyler ............................................... Publisher: O'Reilly Pub Date: October 01, 2006 ISBN-10: 0-596-52682-2 ISBN-13: 978-0-596-52682-5 Pages: 504 Table of Contents | Index Copyright Preface Chapter 1. Quick Start: Installing Fedora Section 1.1. Choosing Fedora: Is It Right for You? Section 1.2. Obtaining Fedora Core Software Section 1.3. Installing Fedora Core Chapter 2. Using Fedora on Your Desktop Section 2.1. Getting Started Using the Fedora Graphical User Interfaces Section 2.2. Customizing GNOME Section 2.3. Customizing KDE Section 2.4. Fine-Tuning Your Display Configuration Section 2.5. Configuring Printing Section 2.6. Configuring Sound Section 2.7. Adding and Configuring Fonts Section 2.8. Using USB Storage Chapter 3. Using Fedora on Your Notebook Section 3.1. Power Management Section 3.2. Configuring Networking Section 3.3. Configuring a Touchpad Section 3.4. Using Dual Video Output Chapter 4. Basic System Management Section 4.1. Using the Command Line Section 4.2. Accessing Online Documentation Section 4.3. Managing Files Section 4.4. Basic Text Editing Using vi Section 4.5. Using Runlevels Section 4.6. Managing and Configuring Services Section 4.7. Managing Users and Groups Section 4.8. Control Access to Files Section 4.9. Managing Processes Section 4.10. Remote Management Using SSH Section 4.11. Using Shell Redirection and Piping Section 4.12. Writing Simple Scripts Chapter 5. Package Management Section 5.1. Querying the Package Management Database Section 5.2. Installing and Removing Software Using RPM Section 5.3. Using Repositories Section 5.4. Rolling Back a Package Installation, Upgrade, or Removal Section 5.5. Automating Updates Section 5.6. Installing From Source Section 5.7. Making Your Own RPM Packages Section 5.8. Rebuilding an RPM Package for a Different Architecture Chapter 6. Storage Administration Section 6.1. Using Logical Volume Management Section 6.2. Managing RAID Section 6.3. Making Backups Section 6.4. Scheduling Tasks Chapter 7. Network Services Section 7.1. Configuring Samba to Share Files with Windows Systems Section 7.2. Configuring a DHCP Server Section 7.3. Configuring a Domain Name Server Section 7.4. Configuring a CUPS Print Server Section 7.5. Using the Apache Web Server Section 7.6. Configuring the sendmail Server Section 7.7. Configuring IMAP and POP3 Email Section 7.8. Configuring Webmail Section 7.9. Creating Databases and Accounts on a MySQL Server Section 7.10. Installing and Configuring a Wiki Section 7.11. Configuring an FTP Server Section 7.12. Analyzing Web and FTP Logs Chapter 8. Securing Your System Section 8.1. Prevent Unwanted Connections Section 8.2. Using SELinux Section 8.3. Using Access Control Lists Section 8.4. Making Files Immutable Section 8.5. Using sudo to Delegate Privilege Section 8.6. Configuring PAM and consolehelper Section 8.7. Logging Section 8.8. Detecting File Changes with AIDE Chapter 9. The Fedora Community Section 9.1. Participating in the Fedora Mailing Lists Section 9.2. Using IRC Section 9.3. Using Bugzilla Section 9.4. Running Rawhide Section 9.5. Participating in Fedora Projects Chapter 10. Advanced Installation Section 10.1. Resizing a Windows Partition Section 10.2. Configuring RAID and LVM During Installation Section 10.3. Preparing Alternate Installation Media Section 10.4. Installing with Kickstart Section 10.5. Configuring the GRUB Bootloader Section 10.6. Using Rescue Mode on an Installation Disc Section 10.7. Installing Xen Virtual Machines Colophon Index Copyright © 2007 O'Reilly Media, Inc. All rights reserved.Printed in the United States of America. Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Brian Jepson Production Editor: Sanders Kleinfeld Copyeditor: Derek Di Matteo Proofreader: Sanders Kleinfeld Indexer: Lucie Haskins Cover Designer: Karen Montgomery Interior Designer: David Futato Illustrators: Robert Romano and Jessamyn Read Printing History: October 2006: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc. The Linux series designations, Fedora Linux, images of the American West, and related trade dress are trademarks of O'Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. ISBN-10: 0-596-52682-2 ISBN-13: 978-0-596-52682-5 Preface Welcome to Fedora Linux: A Complete Guide to Red Hat's Community Distribution. I've based this book on the premise that the best way to learn Linux is to use it; each lab deals with a specific task or problem and starts with solutions. It then expands the discussion to explain the principles underlying the solutions and shows you where you can learn more about the topic if you want to dig deeper. Although the labs do build on each other in some small ways, I expect that most readers will jump from lab to lab according to their needs and interests rather than read the book linearly from front to back. Where appropriate, I have have included both graphical user interface and command- line techniques; use whichever approach suits your needs and style. This book is written for experienced computer users, regardless of their previous experience with Linux. It covers both desktop and server configurations, and is ideally suited to an administrator or power user migrating to Fedora Linux from another environment, such as Windows, Mac OS X, or Unix. This book is targeted at Fedora Core 6 but will also be useful to users of Fedora Core 5 and Fedora Core 7. Fedora is more than an operating system; it includes a wide range of applications, programming languages, and tools, and many of these packages are the subject of their own books. This book does not cover each topic in exhaustive detail; instead, it is designed to give you the most critical information in an accessible format and show you how the packages work within the context of Fedora. At the time of writing, Fedora Core 6 was being finalized; my apologies for the inevitable little discrepancies between the screenshots and descriptions in this book and the final version of Fedora Core 6. How This Book Is Organized Each chapter in this book contains a number of labs. Each lab covers a task or problem and contains four sections: How Do I Do That? A description of techniques that may be used to accomplish the task or solve the problem How Does It Work? An explanation of how the solution and the underlying technology work What About... An exploration of related concepts and ideas Where Can I Learn More? Pointers to additional information if you want to dig into the topic in greater detail The labs are grouped into 10 chapters: Chapter 1, Quick Start: Installing Fedora Covers the installation of Fedora Core using a variety of installation media and methods.