Thông tin tài liệu
www.it-ebooks.info
CentOS Bible
www.it-ebooks.info
www.it-ebooks.info
CentOS Bible
Timothy Boronczyk
Christopher Negus
Wiley Publishing, Inc.
www.it-ebooks.info
CentOS Bible
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright © 2009 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-48165-3
Manufactured in the United States of America
10987654321
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 per-
mission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copy-
right 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 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 dis-
claim all warranties, including without limitation warranties of fitness for a particular purpose. No war-
ranty 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 pub-
lisher is not engaged in rendering legal, accounting, or other professional services. If professional assis-
tance 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 Web site 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 Web site may provide or recom-
mendations it may make. Further, readers should be aware that Internet Web sites 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 please contact our Customer Care Department
within the United States at (877) 762-2974, outside the United States 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
notbeavailableinelectronicbooks.
Library of Congress Control Number: 2009926357
Trademarks: Wiley and the Wiley logo 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. 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.
Disclaimer: This eBook does not include ancillary media that was packaged with the
printed version of the book.
www.it-ebooks.info
About the Authors
Timothy Boronczyk is a native of Syracuse, NY, where he works as a software developer by
day and a freelance developer, writer, and technical editor by night. He has been involved in
web design since 1998, with Linux since 2001, and over the years has written several articles
and tutorials. Timothy holds a degree in software application programming. In his spare time,
he enjoys photography, hanging out with his friends, and sleeping with his feet hanging off the
end of his bed. He’s easily distracted by shiny objects.
Christopher Negus is the author of the best-selling Red Hat Linux Bible series,aswellas
the author of Linux Toys, Linux Toolbox series, Linux Troubleshooting Bible, Linux Bible 2009
edition, and dozens of other UNIX and Linux books. Chris is a Red Hat Certified Engineer
(RHCE, cert #805008815534875), instructor (RHCI), and examiner (RHCX). Since 2008, Chris
has been employed by Red Hat, Inc. as an instructor, teaching RHCE-track courses. Earlier in
his career, Chris worked for eight years on development teams for the UNIX operating system at
AT&T, where UNIX was created and developed.
About the Technical Editor
Ralph Angenendt has been working as a system and network administrator since 1998. After
being introduced to Linux in 1995, Ralph’s interest in non-UNIX-like operating systems has
dropped dramatically, so his work environment mostly consists of Linux servers.
Besides having a sweet tooth for domesticating wild mail servers, Ralph also has a strong interest
in automated system administration. Because of that he set up cfengine at his current employer
to ease the pain of administrating a growing site.
Since 2006, Ralph has been a member of the CentOS development team, where he leads the
documentation force and does some infrastructure management. He might be met at a few Open
Source conventions in Europe, largely Germany and the Benelux countries.
www.it-ebooks.info
www.it-ebooks.info
Credits
Acquisitions Editor
Jenny Watson
Development Editor
Tom Dinse
Technical Editor
Ralph Angenendt
Production Editor
Daniel Scribner
Copy Editor
Cate Caffrey
Editorial Manager
Mary Beth Wakefield
Production Manager
Tim Tate
Vice President and Executive Group
Publisher
Richard Swadley
Vice President and Executive
Publisher
Barry Pruett
Associate Publisher
Jim Minatel
Project Coordinator, Cover
Lynsey Stanford
Proofreader
Jen Larsen, Word One
Indexer
Ron Strauss
Cover Image
Joyce Haughey
Cover Designer
Michael E. Trent
www.it-ebooks.info
www.it-ebooks.info
Introduction xxv
Part I Getting Started
Chapter 1: An Overview of CentOS 3
Chapter 2: Installing CentOS 15
Chapter 3: Getting Started with the Desktop 69
Chapter 4: Using Linux Commands 119
Part II Using CentOS
Chapter 5: Accessing and Running Applications 165
Chapter 6: Publishing with CentOS 221
Chapter 7: Music, Video, and Images in Linux 249
Chapter 8: Using the Internet and the Web 297
Part III Adminstration
Chapter 9: Understanding System Administration 345
Chapter 10: Setting up and Maintaining User Accounts 395
Chapter 11: Automating System Tasks 427
Chapter 12: Creating Backups and Restoring Data 467
Chapter 13: Security 505
Part IV Networking
Chapter 14: Setting Up Network Connections and LANs 561
Chapter 15: Setting Up an Internet Connection 611
Chapter 16: Setting Up Printers and Printing 657
Chapter 17: Setting Up a File Server 679
Chapter 18: Setting Up a Mail Server 719
Chapter 19: Setting Up an FTP Server 751
Chapter 20: Setting Up a Web Server 763
Chapter 21: Setting Up an LDAP Address Book Server 815
Chapter 22: Setting Up a DHCP Boot Server 833
Chapter 23: Setting Up a MySQL Database Server 845
Chapter 24: Making Servers Public with DNS 879
Appendix A: About the Media 907
Index 911
ix
www.it-ebooks.info
[...]... disk xxix www.it-ebooks.info www.it-ebooks.info CentOS Bible www.it-ebooks.info www.it-ebooks.info Getting Started IN THIS PART Chapter 1 An Overview of CentOS Chapter 2 Installing CentOS Chapter 3 Getting Started with the Desktop Chapter 4 Using Linux Commands www.it-ebooks.info www.it-ebooks.info An Overview of CentOS T he goal of the CentOS project (www .centos. org) is to produce an enterprise-class... 14 Chapter 2: Installing CentOS 15 Using the CentOS Live CD 16 Quick Installation 17 Detailed Installation Instructions 18 Installing CentOS 5 .19 Choosing Computer Hardware 21 Preparing for Installation Using the Live CD .22 Beginning the Installation 25 Running CentOS Firstboot 32... available What You Need To follow along with this book, you can install the complete CentOS 5 software found on the accompanying DVD If you don’t have a DVD drive, you can use the CD that comes with this book to try out CentOS without installing it Of course, you can also follow along on an existing CentOS system To install CentOS with the media that comes with this book, you need a PC with the follow general... Introduction About the Companion Media The CentOS 5 DVD that accompanies this book provides the software you need for a complete working CentOS system With this software, you can install sets of software packages that result in an installation from a few hundred megabytes to up to well over 10 GB of software We also include a CentOS 5 Live CD That CD can be booted to run a live CentOS GNOME desktop system without... Getting Started Chapter 1: An Overview of CentOS 3 What You Get with CentOS 5 Stepping Stone to Red Hat Enterprise Linux .6 What Is Linux? 7 Linux’s Roots in UNIX 7 Common Linux Features 10 Primary Advantages of Linux 11 Going Forward with CentOS 12 Help from the CentOS Project 12 Training and... Linux distributions, CentOS leverages the work done by thousands of software developers around the world that release their software under free and Open Source (FOSS) licenses IN THIS CHAPTER Introducing CentOS 5 What is Linux? But unlike other Linux distributions, CentOS distinguishes itself not by how it is different, but by how it strives to be the same Linux’s roots in UNIX The CentOS Linux distribution... provide support for multiple users on your CentOS system In Chapter 11, you learn to create shell scripts and to use the cron facility to automate a variety of tasks on your CentOS system Techniques for backing up your system and restoring files from backup are described in Chapter 12 Chapter 13 describes issues related to securing your computing assets in CentOS Part IV: Networking Part IV consists... W ith the CentOS operating system and the instructions provided in this book, you can transform your computers into free, safe, and powerful enterprise-class systems Not only can you configure your server to share files, printers, web pages, or directory services to other computers, but you can also use CentOS on everyday workstations as well to benefit from its security and stability Because CentOS includes... Getting Started, Using CentOS, Administration, and Networking Part I: Getting Started Part I consist of Chapters 1 through 4 Chapters 1 and 2 contain brief descriptions of the Linux technology and tell you what you need to get the operating system installed Chapter 1 serves as an introduction to the Linux OS and to CentOS in particular Chapter 2 discusses what you need to install CentOS and how to make... GNOME and KDE desktop environments These GUIs provide graphical means of using CentOS Chapter 4 describes ways of exploring and understanding CentOS primarily from the Linux shell command interpreter You learn how to use the bash shell, the vi text editor, and the commands for moving around the Linux file system Part II: Using CentOS Part II consists of Chapters 5 through 8, which include information for . www.it-ebooks.info
CentOS Bible
www.it-ebooks.info
www.it-ebooks.info
CentOS Bible
Timothy Boronczyk
Christopher Negus
Wiley Publishing, Inc.
www.it-ebooks.info
CentOS Bible
Published. with CentOS 12
Help from the CentOS Project 12
Training and Certification 13
Documentation 13
Summary 14
Chapter 2: Installing CentOS . . . 15
Using the CentOS
Ngày đăng: 23/03/2014, 02:20
Xem thêm: CentOS Bible docx