Copyright 2016 by McGraw-Hill Education. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher.
ISBN: 978-0-07-184194-8
MHID: 0-07-184194-6
The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-184196-2, MHID: 0-07-184196-2.
eBook conversion by codeMantra
Version 1.0
All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps.
McGraw-Hill Education eBooks are available at special quantity discounts to use as premiums and sales promotions or for use in corporate training programs. To contact a representative, please visit the Contact Us page at www.mhprofessional.com.
Information has been obtained by McGraw-Hill Education from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, McGraw-Hill Education, or others, McGraw-Hill Education does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from the use of such information.
TERMS OF USE
This is a copyrighted work and McGraw-Hill Education and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill Educations prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms.
THE WORK IS PROVIDED AS IS. McGRAW-HILL EDUCATION AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill Education and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill Education nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill Education has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill Education and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise.
For the young widows and widowers:
may they find the courage to face their fears,
to navigate their way through the pain,
and to find hope for a brighter future.
ABOUT THE AUTHORS
Michael Jang (RHCE, LPIC-2, UCP, LCP, Linux+, MCP) is currently a Senior Technical Writer for ForgeRock. His experience with computers goes back to the days of jumbled punch cards. He has written other books on Linux certification, including LPIC-1 in Depth, Mike Meyers Linux+ Certification Passport, and Sair GNU/Linux Installation and Configuration Exam Cram. His other Linux books include Linux Annoyances for Geeks, Linux Patch Management, and Mastering Fedora Core Linux 5. He has also written or contributed to books on Microsoft operating systems, including MCSE Guide to Microsoft Windows 98 and Mastering Windows XP Professional, Second Edition.
Alessandro Orsaria (RHCE, RHCA, CCIE x 2) is an IT professional with more than 15 years experience in the industry. He has authored articles for technical Linux magazines and is currently employed by a global equity hedge fund as an IT Infrastructure Architect. Alessandro is Red Hat RHCE and RHCA certified and has achieved two Cisco CCIE certifications in Routing & Switching and Datacenter. He holds an MBA from Imperial College of London and a degree in physics.
About the Technical Editor
Alex Davies works for a proprietary trading firm, where he is responsible for Linux systems and manages a team of Linux engineers across Chicago, New York, London, and Singapore. Alex is the author of MySQL Clustering and MySQL High Availability Cookbook. Earlier in his career he was both RHCE and RHCA certified and received the RHCE of the Year award in 2009 from Red Hat. Alex also holds a degree in economics from the University of Durham.
CONTENTS AT A GLANCE
CONTENTS
ACKNOWLEDGMENTS
Id like to thank Mark Craig and Jamie Nelson of ForgeRock for supporting my efforts to update this book. Id also like to thank Alessandro Orsaria for taking on the work required to update this book. We would not have a Seventh Edition without him. Most importantly for me, Id like to thank my sweet wife, Donna; you are the love of my life.
Mike Jang
First, I owe a huge debt of gratitude to Mike Jang and Tim Green for giving me the opportunity to work on the Seventh Edition of this book. More people have contributed than I can possibly mention here, but I must thank Conor Kiernan and Neil Jones at Marshall Wace for their encouragement and support. I also owe a lot to Alex, Koti, and Vlad, who helped me in many ways to get where I am today. Last but certainly not least, thank you, Julia, for your patience and sweetness while I was working on this project.
Alessandro Orsaria
Thanks to all the incredibly hard-working folks at McGraw-HillAmy Stonebraker, Tim Green, LeeAnn Pickrell, Jody McKenzie, Bart Reed, and Jim Kussowfor their help in launching a great series and being solid team players.
PREFACE
L inux is thriving. Red Hat is at the forefront of the Linux revolution. And Red Hat Certified System Administrators (RHCSA) and Engineers (RHCE) are making it happen.
Even in the current economic recovery, business, education, and governments are cost conscious. They want control of their operating systems. Linuxeven Red Hat Enterprise Linuxsaves money. The open-source nature of Linux allows users to control and customize their operating systems to a higher degree than other systems. While there is a price associated with Red Hat Enterprise Linux (RHEL), the cost includes updates and support. With KVM, its possible to set up a cluster of virtual, independent installations of RHEL (and other operating systems) on a single physical computer. Many companies have already converted rooms full of physical systems into closets of just a few systems, each configured with banks of virtual machines. As an RHCSA and an RHCE, you can join in that revolution.