ffirs.indd ii 11/12/12 12:25 PMLPIC-1Linux Professional InstituteCerti dịch - ffirs.indd ii 11/12/12 12:25 PMLPIC-1Linux Professional InstituteCerti Anh làm thế nào để nói

ffirs.indd ii 11/12/12 12:25 PMLPIC


ffirs.indd ii 11/12/12 12:25 PM
LPIC-1
Linux Professional Institute
Certification
Study Guide
Third Edition
ffirs.indd i 11/12/12 12:25 PM
ffirs.indd ii 11/12/12 12:25 PM
LPIC-1
Linux Professional Institute
Certification
Study Guide
Third Edition
Roderick W. Smith
John Wiley & Sons, Inc.
ffirs.indd iii 11/12/12 12:25 PM
Senior Acquisitions Editor: Jeff Kellum
Development Editor: Alexa Murphy
Technical Editors: Ross Brunson and Kevin Glendenning, FOSSter.com
Production Editor: Eric Charbonneau
Copy Editor: Kim Wimpsett
Editorial Manager: Pete Gaughan
Production Manager: Tim Tate
Vice President and Executive Group Publisher: Richard Swadley
Vice President and Publisher: Neil Edde
Media Project Manager 1: Laura Moss-Hollister
Media Associate Producer: Doug Kuhn
Media Quality Assurance: Josh Frank
Book Designer: Judy Fung
Proofreader: Candace Cunningham
Indexer: Ted Laux
Project Coordinator, Cover: Katherine Crocker
Cover Designer: Ryan Sneed
Copyright © 2013 by John Wiley & Sons, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-1-118-49563-6
ISBN: 978-1-118-52648-4 (ebk.)
ISBN: 978-1-118-57047-0 (ebk.)
ISBN: 978-1-118-57055-5 (ebk.)
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) 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
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 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 recommendations 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 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 publishes in a variety of print and electronic formats and by print-on-demand. Some material
included with standard print versions of this book may not be included in e-books or in print-on-demand.
If this book refers to media such as a CD or DVD that is not included in the version you purchased, you
may download this material at http://booksupport.wiley.com. For more information about Wiley
products, visit www.wiley.com.
Library of Congress Control Number: 2012951869
TRADEMARKS: Wiley, the Wiley logo, and the Sybex 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. John Wiley &
Sons, Inc., is not associated with any product or vendor mentioned in this book.
10 9 8 7 6 5 4 3 2 1
ffirs.indd iv 11/12/12 12:25 PM
Dear Reader,
Thank you for choosing LPIC-1: Linux Professional Institute Certifi cation Study Guide,
Third Edition. This book is part of a family of premium-quality Sybex books, all of which
are written by outstanding authors who combine practical experience with a gift for
teaching.
Sybex was founded in 1976. More than 30 years later, we’re still committed to producing
consistently exceptional books. With each of our titles, we’re working hard to set a new
standard for the industry. From the paper we print on to the authors we work with, our
goal is to bring you the best books available.
I hope you see all that refl ected in these pages. I’d be very interested to hear your
comments and get your feedback on how we’re doing. Feel free to let me know what you
think about this or any other Sybex book by sending me an email at nedde@wiley.com. If you
think you’ve found a technical error in this book, please visit http://sybex.custhelp.com.
Customer feedback is critical to our efforts at Sybex.
Best regards,
Neil Edde
Vice President and Publisher
Sybex, an Imprint of Wiley
ffirs.indd v 11/12/12 12:25 PM
ffirs.indd vi 11/12/12 12:25 PM
Acknowledgments
Although this book bears my name as author, many other people contributed to its
creation. Without their help, this book wouldn’t exist, or at best would exist in a lesser
form. Jeff Kellum was the acquisitions editor and so helped get the book started. Alexa
Murphy, the developmental editor, and Eric Charbonneau, the production editor, oversaw
the book as it progressed through all its stages. Ross Brunson and Kevin Glendenning
were the technical editors who checked the text for technical errors and omissions — but
any mistakes that remain are my own. Kim Wimpsett, the copy editor, helped keep the
text grammatical and understandable. The proofreader, Candace Cunningham, checked
the text for typos. I’d also like to thank Neil Salkind and others at Studio B, who helped
connect me with Wiley to write this book.
ffirs.indd vii 11/12/12 12:25 PM
ffirs.indd viii 11/12/12 12:25 PM
About the Author
Roderick W. Smith is a Linux consultant and author. He has written more than 20 books
on Linux, FreeBSD, and computer networking, including Linux Essentials, the LPIC-2
Study Guide, and Linux Administrator Street Smarts (all from Sybex). He can be reached
at rodsmith@rodsbooks.com.
ffirs.indd ix 11/12/12 12:25 PM
ffirs.indd x 11/12/12 12:25 PM
Contents at a Glance
Introduction xxiii
Exam Objectives xxix
- Exam 101 Objectives xxix
- Exam 102 Objectives xxxv
Assessment Test xli
Answers to the Assessment Test xlviii
Part I Exam 101 1
Chapter 1 Exploring Linux Command-Line Tools 3
Chapter 2 Managing Software 45
Chapter 3 Configuring Hardware 105
Chapter 4 Managing Files 175
Chapter 5 Booting Linux and Editing Files 223
Part II Exam 102 265
Chapter 6 Configuring the X Window System,
Localization, and Printing 267
Chapter 7 Administering the System 329
Chapter 8 Configuring Basic Networking 381
Chapter 9 Writing Scripts, Configuring Email, and Using Databases 425
Chapter 10 Securing Your System 473
Appendix A Answers to Review Questions 517
Appendix B About the Additional Study Tools 553
Index 557
ffirs.indd xi 11/12/12 12:25 PM
ffirs.indd xii 11/12/12 12:25 PM
Contents
Introduction xxiii
Exam Objectives xxix
- Exam 101 Objectives xxix
- Exam 102 Objectives xxxv
Assessment Test xli
Answers to the Assessment Test xlviii
Part I Exam 101 1
Chapter 1 Exploring Linux Command-Line Tools 3
Understanding Command-Line Basics 4
Exploring Your Linux Shell Options 4
Using a Shell 5
Exploring Shell Configuration 12
Using Environment Variables 12
Getting Help 13
Using Streams, Redirection, and Pipes 14
Exploring Types of Streams 15
Redirecting Input and Output 15
Piping Data Between Programs 17
Generating Command Lines 18
Processing Text Using Filters 19
File-Combining Commands 19
File-Transforming Commands 21
File-Formatting Commands 25
File-Viewing Commands 28
File-Summarizing Commands 30
Using Regular Expressions 32
Understanding Regular Expressions 32
Using grep 33
Using sed 35
Summary 37
Exam Essentials 38
Review Questions 39
ftoc.indd xiii 11/12/12 12:26 PM
xiv Contents
Chapter 2 Managing Software 45
Package Concepts 46
Using RPM 48
RPM Distributions and Conventions 48
The rpm Command Set 51
Extracting Data from RPMs 54
Using Yum 55
RPM and Yum Configuration Files 59
RPM Compared to Other Package Formats 60
Using Debian Packages 61
Debian Distributions and Conventions 61
The dpkg Command Set 62
Using apt-cache 65
Using apt-get 65
Using dselect, aptitude, and Synaptic 69
Reconfiguring Packages 71
Debian Packages Compared to Other Package Formats 71
Configuring Debian Package Tools 72
Converting Between Package Formats 73
Package Dependencies and Conflicts 75
Real and Imagined Package Dependency Problems 75
Workarounds for Package Dependency Problems 76
Startup Script Problems 78
Managing Shared Libraries 79
Library Principles 79
Locating Library Files 81
Library Management Commands 83
Managing Processes 85
Understanding the Kernel: The First Process 85
Examining Process Lists 86
Understanding Foreground and Background
Processes 92
Managing Process Priorities 93
Killing Processes 94
Summary 96
Exam Essentials 96
Review Questions 98
Chapter 3 Configuring Hardware 105
Configuring the Firmware and Core Hardware 106
Understanding the Role of the Firmware 106
IRQs 110
I/O Addresses 113
DMA Addresses 114
ftoc.indd xiv 11/12/12 12:26 PM
Contents xv
Boot Disks and Geometry Settings 114
Coldplug and Hotplug Devices 117
Configuring Expansion Cards 118
Configuring PCI Cards 118
Learning about Kernel Modules 120
Loading Kernel Modules 121
Removing Kernel Modules 123
Co
0/5000
Từ: -
Sang: -
Kết quả (Anh) 1: [Sao chép]
Sao chép!
ffirs. indd ii 11/12/10 12:25 PMLPIC-1Linux Professional InstituteCertificationStudy GuideThird Editionffirs. indd i 11/12/10 12:25 PMffirs. indd ii 11/12/10 12:25 PMLPIC-1Linux Professional InstituteCertificationStudy GuideThird EditionRoderick W. SmithJohn Wiley & Sons, Inc.ffirs. indd iii 11/12/10 12:25 PMSenior Acquisitions Editor: Jeff KellumDevelopment Editor: Alexa MurphyTechnical Editors: Ross Brunson and Kevin Glendenning, FOSSter.comProduction Editor: Eric CharbonneauCopy Editor: Kim WimpsettEditorial Manager: Pete GaughanProduction Manager: Tim TateVice President and Executive Group Publisher: Richard SwadleyVice President and Publisher: Neil EddeMedia Project Manager 1: Laura Moss-HollisterMedia Associate Producer: Doug KuhnMedia Quality Assurance: Josh FrankBook Designer: Judy FungProofreader: Candace CunninghamIndexer: Ted LauxProject Coordinator, Cover: Katherine CrockerCover Designer: Ryan SneedCopyright © John Wiley & Sons by 2013, Inc., Indianapolis, IndianaPublished simultaneously in CanadaISBN: 978-1-118-49563-6ISBN: 978-1-118-52648-4 (ebk).ISBN: 978-1-118-57047-0 (ebk).ISBN: 978-1-118-57055-5 (ebk).No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form orby any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permittedunder Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permissionof the Publisher, or authorization through payment of the appropriate per-copy fee to the CopyrightClearance 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 atwww.wiley.com/go/permissions.Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warrantieswith 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 becreated or extended by sales or promotional materials. The advice and strategies contained herein may notbe suitable for every situation. This work is sold with the understanding that the publisher is not engaged inrendering legal, accounting, or other professional services. If professional assistance is required, the servicesof a competent professional person should be sought. Neither the publisher nor the author shall be liable fordamages arising herefrom. The fact that an organization or Web site is referred to in this work as a citationand/or a potential source of further information does not mean that the author or the publisher endorsesthe information the organization or Web site may provide or recommendations it may make. Further,readers should be aware that Internet Web sites listed in this work may have changed or disappearedbetween 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 contactour Customer Care Department within the U.S. at (877) 762-2974, outside the U.S. at (317) 572-3993 orfax (317) 572-4002.Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some materialincluded with standard print versions of this book may not be included in e-books or in print-on-demand.If this book refers to media such as a CD or DVD that is not included in the version you purchased, youmay download this material at http://booksupport.wiley.com. For more information about Wileyproducts, visit www.wiley.com.Library of Congress Control Number: 2,012,951,869TRADEMARKS: Wiley, the Wiley logo, and the logo are trademarks or registered trademarks Sybex ofJohn Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be usedwithout written permission. All other trademarks are the property of their respective owners. John Wiley &Sons, Inc., is not associated with any product or vendor mentioned in this book.10 9 8 7 6 5 4 3 2 1ffirs. indd iv 11/12/10 12:25 PMDear Reader,Thank you for choosing LPIC-1: Linux Professional Institute Certifi cation Study Guide,Third Edition. This book is part of a family of premium-quality Sybex books, all of whichare written by outstanding authors who combine practical experience with a gift forteaching.Sybex was founded in 1976. More than 30 years later, we're still committed to producingconsistently exceptional books. With each of our titles, we're working hard to set a newstandard for the industry. From the paper we print on to the authors we work with, ourgoal is to bring you the best books available.I hope you see all that refl ected in these pages. I'd be very interested to hear yourcomments and get your feedback on how we're doing. Feel free to let me know what youthink about this or any other Sybex book by sending me an email at nedde@wiley.com. If youthink you've found a technical error in this book, please visit http://sybex.custhelp.com.Customer feedback is critical to our efforts at Sybex. Best regards, Neil Edde Vice President and Publisher Sybex, an Imprint of Wileyffirs. indd v 11/12/10 12:25 PMffirs. indd vi 11/12/10 12:25 PMAcknowledgmentsAlthough this book bears my name as author, many other people contributed to itscreation. Without their help, this book wouldn't exist, or at best would exist in a lesserform. Jeff Kellum was the acquisitions editor and so helped get the book started. AlexaMurphy, the developmental editor, and Eric Charbonneau, the production editor, oversawthe book as it progressed through all its stages. Ross Brunson and Kevin Glendenningwere the technical editors who checked the text for technical errors and omissions — butany mistakes that remain are my own. Kim Wimpsett, the copy editor, helped keep thetext grammatical and understandable. The proofreader, Candace Cunningham, checkedthe text for typos. I'd also like to thank Neil Salkind and others at Studio B, who helpedconnect me with Wiley to write this book.ffirs. indd vii 11/12/10 12:25 PMffirs. indd viii 11/12/10 12:25 PMAbout the AuthorRoderick w. Smith is a Linux consultant and author. He has written more than 20 bookson Linux, FreeBSD, and computer networking, including Linux Essentials, the LPIC-2Study Guide, and Linux Administrator Street Smarts (all from Sybex). He can be reachedat rodsmith@rodsbooks.com.ffirs. indd ix 11/12/10 12:25 PMffirs. indd x 11/12/10 12:25 PMContents at a GlanceIntroduction xxiiiExam Objectives xxix -101 Exam Objectives xxix 102-Exam Objectives xxxvAssessment Test xliAnswers to the Assessment Test xlviiiPart I Exam 101 1Chapter 1 Exploring Linux command-line Tools 3Chapter 2 Managing Software 45Chapter 3 Configuring Hardware 105Chapter 4 Managing Files 175Chapter 5 Booting Linux and Editing Files 223Part II Exam 102 265Chapter 6 Configuring the X Window System,Localization, and Printing 267Chapter 7 Administering the System 329Chapter 8 Configuring Basic Networking 381Chapter 9 Writing Scripts, Configuring Email, and Using Databases 425Chapter 10 Securing Your System 473Appendix A Answers to Review Questions 517Appendix B About the Additional Study Tools 553Index 557ffirs.indd xi 11/12/12 12:25 PMffirs.indd xii 11/12/12 12:25 PMContentsIntroduction xxiiiExam Objectives xxix - Exam 101 Objectives xxix - Exam 102 Objectives xxxvAssessment Test xliAnswers to the Assessment Test xlviiiPart I Exam 101 1Chapter 1 Exploring Linux Command-Line Tools 3Understanding Command-Line Basics 4Exploring Your Linux Shell Options 4Using a Shell 5Exploring Shell Configuration 12Using Environment Variables 12Getting Help 13Using Streams, Redirection, and Pipes 14Exploring Types of Streams 15Redirecting Input and Output 15Piping Data Between Programs 17Generating Command Lines 18Processing Text Using Filters 19File-Combining Commands 19File-Transforming Commands 21File-Formatting Commands 25File-Viewing Commands 28File-Summarizing Commands 30Using Regular Expressions 32Understanding Regular Expressions 32Using grep 33Using sed 35Summary 37Exam Essentials 38Review Questions 39ftoc.indd xiii 11/12/12 12:26 PMxiv ContentsChapter 2 Managing Software 45Package Concepts 46Using RPM 48RPM Distributions and Conventions 48The rpm Command Set 51Extracting Data from RPMs 54Using Yum 55RPM and Yum Configuration Files 59RPM Compared to Other Package Formats 60Using Debian Packages 61Debian Distributions and Conventions 61The dpkg Command Set 62Using apt-cache 65Using apt-get 65Using dselect, aptitude, and Synaptic 69Reconfiguring Packages 71Debian Packages Compared to Other Package Formats 71Configuring Debian Package Tools 72Converting Between Package Formats 73Package Dependencies and Conflicts 75Real and Imagined Package Dependency Problems 75Workarounds for Package Dependency Problems 76Startup Script Problems 78Managing Shared Libraries 79Library Principles 79Locating Library Files 81Library Management Commands 83Managing Processes 85Understanding the Kernel: The First Process 85Examining Process Lists 86Understanding Foreground and BackgroundProcesses 92Managing Process Priorities 93Killing Processes 94Summary 96Exam Essentials 96Review Questions 98Chapter 3 Configuring Hardware 105Configuring the Firmware and Core Hardware 106Understanding the Role of the Firmware 106IRQs 110I/O Addresses 113DMA Addresses 114ftoc.indd xiv 11/12/12 12:26 PMContents xvBoot Disks and Geometry Settings 114Coldplug and Hotplug Devices 117Configuring Expansion Cards 118Configuring PCI Cards 118Learning about Kernel Modules 120Loading Kernel Modules 121Removing Kernel Modules 123Co
đang được dịch, vui lòng đợi..
Kết quả (Anh) 2:[Sao chép]
Sao chép!

12/11/12 12:25 PM ffirs.indd ii
LPIC-1
Linux Professional Institute
Certification
Study Guide
Third Edition
12/11/12 12:25 PM ffirs.indd i
ii 12/11/12 12:25 PM ffirs.indd
LPIC-1
Linux Professional Institute
Certification
Study Guide
Third Edition
Roderick W. Smith
John Wiley & Sons, Inc.
11/12/12 12:25 PM ffirs.indd iii
Senior Acquisitions Editor: Jeff Kellum
Development Editor: Alexa Murphy
Technical Editors: Ross Brunson and Kevin Glendenning, FOSSter.com
Production Editor: Eric Charbonneau
Copy Editor: Kim Wimpsett
Editorial Manager: Pete Gaughan
Production Manager: Tim Tate
Vice President and Executive Group Publisher: Richard Swadley
Vice President and Publisher: Neil Edde
Media Project Manager 1: Laura Moss-Hollister
Media Associate Producer: Doug Kuhn
Media Quality Assurance: Josh Frank
Book Designer: Judy Fung
Proofreader: Candace Cunningham
Indexer: Ted Laux
Project Coordinator, Cover: Katherine Crocker
Cover Designer: Ryan Sneed
Copyright © 2013 by John Wiley & Sons, Inc. ., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-1-118-49563-6
ISBN: 978-1-118-52648-4 (ebk.)
ISBN: 978-1-118-57047-0 (ebk.)
ISBN: 978-1-118-57055-5 (ebk.)
No part of this publication lẽ reproduced, stored in a retrieval system in any form or Transmitted or
by any means again, electronic, mechanical, Photocopying, recording, scanning or otherwise , except as cho
under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior Written speaker hoặc permission
of the Publisher, or authorization through payment of the appropriate per-copy fee the to the Copyright
Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600.
Requests for permission to the Publisher nên 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
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,
without limitation warranties of fitness gồm for một purpose. No warranty lẽ
created or extended by sales or promotional materials. The advice and strategies contained Herein unfortunately not
be Suitable for every situation. This work is sold with the understanding rằng ENGAGED print publisher is not
rendering legal, accounting, or other professional services. If professional type assistance is required, the services
of a professional Competent nên person sought. Neither the publisher nor the author shall only be liable for
Damages arising herefrom. The fact mà an organization or Web site is Referred to in this work as a citation
and / or a potencial source of further information does not mean the publisher or author rằng endorses
the information the organization or Web site cung sew sew or make it RECOMMENDATIONS . Further,
readers aware mà nên Internet Web sites listed in this work have changed or disappeared unfortunately
this work was giữa khi ghi and khi it is read.
For general information on our products and services or other lấy technical support, please contact
our Customer trong US Care Department at (877) 762-2974, outside the US at (317) 572-3993 or
fax (317) 572-4002.
Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material
included with standard print versions of this book unfortunately not be included in e-books or print-on-demand printing.
If this book Refers to media CD or DVD như a nằm not included in the version you purchased, you
sew at http://booksupport.wiley.com download this material. For more information about Wiley
products, visit www.wiley.com.
Library of Congress Control Number: 2012951869
Trademarks: Wiley, the Wiley logo, and the logo are Trademarks or registered Sybex Trademarks of
John Wiley & Sons, Inc. and / or its affiliates, in the United States and other Countries, and unfortunately not be used
without permission Written speaker. All other Trademarks are the property of respective owners chúng. John Wiley &
Sons, Inc., is not associated with any product or vendor Mentioned in this book.
10 9 8 7 6 5 4 3 2 1
11/12/12 12:25 PM ffirs.indd iv
Dear Reader,
Thank you for Choosing LPIC-1: Linux Professional Institute Certifi cation Study Guide,
Third Edition. This book is part of a family of premium-quality Sybex books, all of mà
are authors who combine outstanding bởi practical experience with a gift for
teaching.
Sybex was Founded in 1976. More than 30 years later, we're still Committed to producing
consistently exceptional books. With each of our titles, we're working hard to set a new
standard for the industry. From the paper to the authors We print on chúng work with, our
goal is to bring you the best books available.
I hope you see all that refl ected những printed pages. I'd be very interested to hear your
comments and get feedback on how của we're doing. Feel free to let me know what you
think about this or any other Sybex book by sending me an email at nedde@wiley.com. If you
think you've found a technical error in this book, please visit http://sybex.custhelp.com.
Customer feedback is critical to our efforts into at Sybex.
Best regards,
Neil Edde
Vice President and Publisher
Sybex, an Imprint of Wiley
12/11/12 12:25 PM ffirs.indd v
12/11/12 12:25 PM ffirs.indd vi
Acknowledgments
Although this book bears my name as author, Contributed to its many Other People
creation. Without ask for their help, this book would not exist, or at best would exist in a lesser
form. Jeff Kellum was the Acquisitions editor and so helped get the book khởi. Alexa
Murphy, the developmental editor, and Eric Charbonneau, the production editor, oversaw
the book as it progressed through all its stages. Ross Brunson and Kevin Glendenning
Were the technical editors who checked the text for errors and omissions technical - but
any mistakes are my own mà Remain. Kim Wimpsett, the copy editor, helped keep the
text grammatical and understandable. The proofreader, Candace Cunningham, checked
the text for typos. I'd like to thank Neil Salkind cũng and others at Studio B, who helped
connect me to write this book with Wiley.
ffirs.indd vii 11/12/12 12:25 PM
ffirs.indd viii 12/11/12 12: 25 PM
About the Author
Roderick W. Smith is a consultant and author Linux. He has more than 20 books ghi
on Linux, FreeBSD, and computer networking, Linux gồm Essentials, the LPIC-2
Study Guide, and Administrator Street Smarts Linux (all from Sybex). He can be reached
at rodsmith@rodsbooks.com.
ffirs.indd ix 11/12/12 12:25 PM
11/12/12 12:25 PM ffirs.indd x
Contents at a Glance
Introduction xxiii
Exam Objectives xxix
- 101 Exam Objectives xxix
- 102 Exam Objectives xxxv
xli Assessment Test
Answers to the Assessment Test XLVIII
Part I Exam 101 1
Chapter 1 Exploring Linux Command-Line Tools 3
Chapter 2 Managing Software 45
Chapter 3 Configuring Hardware 105
175 Chapter 4 Managing Files
Chapter 5 Booting Linux and Editing Files 223
102 265 Part II Exam
Chapter 6 Configuring the X Window System,
Localization, and Printing 267
Chapter 7 Administering the System 329
Chapter 8 Configuring Basic Networking 381
Chapter 9 Writing Scripts, Configuring Email, and Using Databases 425
473 Chapter 10 Securing Your System
Answers to Review Questions Appendix A 517
Appendix B 553 About the Additional Study Tools
Index 557
xi ffirs.indd 11/12/12 12:25 PM
12/11/12 12:25 PM ffirs.indd xii
Contents
Introduction xxiii
Exam Objectives xxix
- 101 Exam Objectives xxix
- 102 Exam Objectives xxxv
xli Assessment Test
Answers to the Assessment Test XLVIII
Part I Exam 101 1
Chapter 1 Exploring Linux Command-Line Tools 3
Understanding Command-Line Basics 4
4 Exploring Your Options Linux Shell
Shell Using a 5
Exploring Shell Configuration 12
Using Environment Variables 12
Getting Help 13
Using Streams, Redirection, and Pipes 14
Exploring Types of Streams 15
Input and Output Redirecting 15
Piping Data Between Programs 17
Generating Command Lines 18
Using Filters 19 Processing Text
File-Combining Commands 19
-Transforming File Commands 21
File-Formatting Commands 25
Viewing Commands 28 File-
File-tính tổng Commands 30
Using Regular Expressions 32
32 Understanding Regular Expressions
Using grep 33
Using sed 35
Summary 37
38 Exam Essentials
Review Questions 39
ftoc.indd xiii 11/12/12 12:26 PM
xiv Contents
Chapter 2 45 Managing Software
Package Concepts 46
Using RPM 48
RPM Distributions and Conventions 48
The rpm Command Set 51
Extracting Data from RPMs 54
55 Using Yum
Yum Configuration Files RPM and 59
RPM Package sánh to Other Formats 60
61 Using Debian Packages
Debian Distributions and Conventions 61
The dpkg Command Set 62
Using apt-cache 65
Using apt-get 65
Using dselect, aptitude, and Synaptic 69
71 reconfiguring Packages
Debian Packages sánh to Other Formats Package 71
Configuring Debian Package Tools 72
73 Converting Between Package Formats
Package Dependencies and Conflicts 75
Real and imagined Package Dependency Problems 75
Problems and workarounds for Dependency Package 76
Startup Script Problems 78
79 Managing Shared Libraries
Library Principles 79
81 Locating Files Library
Library Management Commands 83
Managing Processes 85
Understanding the Kernel: The First Process 85
Process Examining 86 Lists
Understanding Foreground and Background
Processes 92
93 Managing Priorities Process
Killing Processes 94
Summary 96
96 Exam Essentials
Review Questions 98
Chapter 3 Configuring Hardware 105
Configuring the Core Hardware and Firmware 106
Understanding the Role of the Firmware 106
IRQs 110
I / O Addresses 113
Addresses 114 DMA
12/11/12 12:26 PM ftoc.indd xiv
xv Contents
Boot Disks and Geometry Settings 114
coldplug and hotplug Devices 117
118 Configuring Expansion Cards
PCI Cards 118 Configuring
Learning about Kernel Modules 120
121 Loading Kernel Modules
Kernel Modules Removing 123
Co
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: