Christopher Negus and Eric Foster-Johnson Set up for publishing, multimedia, or gaming Enable file, printer, Web, and mail servers Prepare for Red Hat Enterprise Linux 6 Negus Foster-Johnson The book you need to succeed! DVD Includes • Official Fedora 11 installation • Nearly 4GB of official Fedora software CD-ROM Includes • Official Fedora 11 GNOME Live CD • Installable Fedora 11 desktop system Value-Packed DVD and CD-ROM Fedora ® 11 and Red Hat ® Enterprise Linux ® Fedora ® 11 and Red Hat ® Enterprise Linux ® More than a quarter of a million copies sold in previous editions! What’s on the DVD and CD-ROM? Official Fedora 11 install DVD Official Fedora 11 GNOME desktop live/ install CD System Requirements: Please see the Preface and Appendix A for details and complete system requirements. New in Fedora 11 • Ext4 file systems • RPM 4.6 • Cortado streaming video • Improved webcam support • Connection sharing with NetworkManager • Better printer support Shelving Category: COMPUTERS/Operating Systems/ Linux Reader Level: Beginning to Advanced $59.99 USA $71.99 Canada Get tomorrow’s Linux technology today in Fedora 11 Fedora is the best cutting-edge Linux operating system available. Install it on your own desktop or personal server and you’ll have your hands on the latest Linux technology. Learn to use it today and you’ll be ready for upcoming enterprise Linux systems when they arrive. Install, configure, and use Fedora as anything from a desktop to an Internet server. Use this book as a guide to installing or running Fedora from the included DVD and Live CD. Spin, wobble, or twist with desktop effects Graphical administration tools make configuration easy Choose from hundreds of desktop and online games Set up Fedora or Red Hat Enterprise Linux to: • Create encrypted file systems, use lightweight desktops, and try online games with new features in Fedora • Navigate your computer with GNOME ® , KDE ® , Xfce, or Sugar (One Laptop Per Child) Desktops • Manage and use documents, spreadsheets, presentations, music, and images • Connect easily to your network with NetworkManager • Draw from massive online Fedora and third-party software repositories • Build an Internet server with e-mail, Web, DNS, FTP, and database services www.it-ebooks.info www.it-ebooks.info Ten cool things to do with Fedora 11 Linux Just because Fedora is a serious operating system doesn't mean it can't be fun too. Here is a list of ten fun and useful things to do with Fedora. 1. Set Up a Personal Online Desktop: Use the GNOME Online Desktop to connect your desktop to your friends, multimedia content, and online applications from Google, Facebook, Yahoo!, and others. Click right on the desktop to immediately get you all your favorite content. (See Chapter 3.) 2. Launch Fedora 11 live on your PC: Insert the live CD that comes with this book, reboot, and start using Fedora from nearly any PC. Fedora won’t touch the contents of your computer unless you tell it to. If you like Fedora, select the Install button to install Fedora to your hard disk. (See Chapter 3.) 3. Play Commercial Audio/Video: Licensing restrictions keep many popular codecs from inclusion with Fedora. Using third-party repositories with Fedora, you grab the codecs you need to play Windows Media (Audio, Video and MMS), MP3 audio, MPEG-2 and MPEG-4 video decoding, and others. (See Chapter 8.) 4. Manage music collections: Launch Rhythmbox to gather, organize, and play music from your hard disk, CDs, or network file systems. You can even select from thousands of free songs from Magnatune and Jamendo online music services. (See Chapter 8.) 5. Publish your ideas: Choose from dozens of publishing tools to create documents (OpenOffice.org Writer), presentations (OpenOffice.org Impress) hard-copy page layouts (Scribus), and vector graphics (Inkscape). Then publish your work on paper or the Web. (See Chapter 6.) 6. Share an Internet connection: Fedora can be set up as a router and a firewall. With a home or small office LAN set-up, you can use Fedora to share an Internet connection among multiple Linux, Windows, or Mac systems. Then set up a firewall in Fedora to protect your LAN from intruders. (See Chapters 14, 15, and 16.) 7. Play free games: As always, Fedora includes dozens of simple card games and board games. The Fedora repository includes a ton of games, including fun first-person shooter games such as Doom, strategy games such as fantasy game Wesnoth, and online battle games such as BZFlag. (See Chapter 7.) 8. Run Windows applications: By adding the wine software packages, you can run many Windows applications right from a Fedora desktop. (See Chapter 5.) 9. Create an Internet server: Learn to configure a Web server (Chapter 21), FTP server (Chapter 20) and a mail server (Chapter 19). Then use that knowledge to create a public Internet server (Chapter 25). Your server can run from your home Internet connection. 10. Share over the Internet: Share your personal videos, software, or other content with friends over the Internet, using Bittorrent swarming network transfer software. While you’re at it, instant message your thoughts using Pidgin, video-conference your looks with Ekiga, and e-mail your party invitations via Evolution. (See Chapter 7.) www.it-ebooks.info www.it-ebooks.info Fedora ® 11 and Red Hat ® Enterprise Linux ® Bible www.it-ebooks.info www.it-ebooks.info Fedora ® 11 and Red Hat ® Enterprise Linux ® Bible Christopher Negus Eric Foster-Johnson Wiley Publishing, Inc. www.it-ebooks.info Fedora® 11 and Red Hat® Enterprise Linux® Bible Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2009 by Wiley Publishing, Inc. All rights reserved. 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 permitted 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) 750-4744. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748- 6008, or online at http://www.wiley.com/go/permissions. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations 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 created or extended by sales or promotional materials. The advice and strategies contained 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 further 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. For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (877) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002. 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: 2009927344 Trademarks: Wiley, the Wiley Publishing logo, 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. Red Hat and Fedora are trademarks or registered trademarks of Red Hat, Inc. Linux is a registered trademark of Linus Torvalds. All other trademarks are the property of their respective owners. Wiley is not associated with any product or vendor mentioned in this book. ISBN: 978-0-470-48504-0 Printed in the United States of America. 10 9 8 7 6 5 4 3 2 1 www.it-ebooks.info As always, I dedicate this book to my wife, Sheree. This book would never have happened without her love and support. –ChristopherNegus To Katya and Nalana –Eric Foster-Johnson www.it-ebooks.info www.it-ebooks.info [...]... X86 and X86 64-bit versions of CentOS from that project’s site (http://mirror.centos.org/) Fedora 11 and Red Hat Enterprise Linux Bible Improvements Fedora 11 and Red Hat Enterprise Linux Bible represents the continuing development of Red Hat Linux Bible, which I began in 1999 About every six months since Red Hat Linux 6.1, I followed new versions of Red Hat Linux with updates of this book Red Hat, ... Enterprise Linux 4 What Is Linux? 5 Linux s Roots in UNIX 6 What Is an Operating System? 7 Common Linux Features 8 Primary Advantages of Linux 10 What Are Red Hat Enterprise Linux and Fedora? 11 Red Hat forms the Fedora Project 11 Red Hat shifts to Red Hat Enterprise Linux 14 Choosing between Fedora and. .. its Red Hat Linux development efforts into two tracks: the Fedora Project and the Red Hat Enterprise Linux (RHEL) product This book now covers the latest of those two Linux distributions: Fedora 11 and RHEL 5 By learning the features in Fedora 11, you will also be preparing yourself for future releases of RHEL The foundation for Fedora, RHEL, and this book rests on the tradition begun with Red Hat Linux. .. started out as Red Hat Linux Bible, which because of the name changes of Red Hat s Linux projects has evolved into the book you are holding Most recently, Chris co-authored multiple books in the Linux Toolbox series: Fedora Linux Toolbox, Ubuntu Linux Toolbox, Mac OS X UNIX Toolbox, SUSE Linux Toolbox, and BSD UNIX Toolbox (Wiley Publishing) Besides that, Chris authored Linux Bible 2009 Edition and co-wrote... Edition and co-wrote CentOS Bible, Linux Troubleshooting Bible and Linux Toys II for Wiley Publishing Chris also authored Live Linux CDs and co-authored the Official Damn Small Linux Book, as part of the Negus Software Solutions Series Today, Chris works as a Linux instructor for Red Hat, Inc and has achieved certification as a Red Hat Certified Engineer (RHCE) and Red Hat Certified Examiner (RHCX)... deploy and troubleshoot Linux systems • Linux Toys II — If you’re looking for something fun to do with Linux, this book contains nine fun projects you can build with a PC and open source software Chris Negus www.it-ebooks.info www.it-ebooks.info Contents Part I: Getting Started in Fedora and RHEL Chapter 1: An Overview of Fedora and Red Hat Enterprise Linux 3 Introducing Fedora 11 and Red Hat Enterprise. .. this and earlier editions of Red Hat Linux Bible Go out and become a force for Linux in your work, home, and community If you feel like expanding your Linux horizons, try some of these other books I’ve written: • Linux Bible 2009 Edition — Contains 18 different bootable and installable Linux distributions on DVD and CD, along with descriptions characterizing those and other popular and interesting Linux. .. available What You Need This book covers two different Linux systems: Fedora 11 and Red Hat Enterprise Linux 5 Because Fedora is most recently released and is included on the media with this book, examples primarily focus on Fedora However, because Fedora technology feeds into distributions besides RHEL, such as CentOS (www.centos.org), StartCom (www.startcom.org), White Box Enterprise Linux (www.whiteboxlinux.org)... wife, Sheree, and his boys, Caleb and Seth His hobbies include soccer, singing, and exercising with Sheree Eric Foster-Johnson is a veteran programmer who works daily with Linux, Unix, and Windows and other operating systems By day, he writes enterprise Java software for ObjectPartners, a Minnesota consulting firm He has authored and co-authored a number of Linux and Unix titles including Red Hat RPM Guide,... mail and printing alternatives 452 Using mail alternatives 453 Using Security Enhanced Linux 453 Understanding Security Enhanced Linux 454 Types and roles in SELinux 455 Users in SELinux 455 Policies in SELinux 456 Tools in SELinux 456 Using SELinux in Fedora and RHEL 457 Getting SELinux . Overview of Fedora and Red Hat Enterprise Linux 3 Introducing Fedora 11 and Red Hat Enterprise Linux 4 What Is Linux? 5 Linux s Roots in UNIX 6 What Is. Common Linux Features 8 Primary Advantages of Linux 10 What Are Red Hat Enterprise Linux and Fedora? 11 Red Hat forms the Fedora Project 11 Red Hat shifts