www.it-ebooks.info CentOS Linux Server Cookbook A practical guide to installing, configuring, and administering the CentOS community-based enterprise server Jonathan Hobson BIRMINGHAM - MUMBAI www.it-ebooks.info CentOS Linux Server Cookbook Copyright © 2013 Packt Publishing All rights reserved No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews Every effort has been made in the preparation of this book to ensure the accuracy of the information presented However, the information contained in this book is sold without warranty, either express or implied Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published: April 2013 Production Reference: 1090413 Published by Packt Publishing Ltd Livery Place 35 Livery Street Birmingham B3 2PB, UK ISBN 978-1-84951-902-1 www.packtpub.com Cover Image by Jasmine Doremus (jasdoremus@gmail.com) www.it-ebooks.info Credits Author Project Coordinator Jonathan Hobson Abhishek Kori Reviewers Proofreader Ugo Bellavance Mario Cecere Bent Benedetti Indexer Frank Lemmon Hemangini Bari Acquisition Editor Production Coordinator Joanne Fitzpatrick Shantanu Zagade Lead Technical Editor Dayan Hyames Cover Work Shantanu Zagade Technical Editors Dominic Pereira Saijul Shah www.it-ebooks.info About the Author Jonathan Hobson is a Web Developer, Systems Engineer, and Applications Programmer, who, for more than 20 years has been working behind the scenes to support companies, organizations, and individuals around the world to realize their digital ambitions With an honors degree in both English and History and as a respected practitioner of many computer languages, Jonathan enjoys writing code, publishing articles, building computers, playing video games, and getting "out and about" in the big outdoors He has been using CentOS since its inception and over the years, it has not only earned his trust, but it has become his first-choice server solution CentOS is a first class community-based enterprise class operating system, it is a pleasure to work with, and because of this, Jonathan has written this book in order that his knowledge and experience can be passed on to others www.it-ebooks.info About the Reviewers Ugo Bellavance, who has done most of his studies in e-commerce, started using Linux at Red Hat 5.2, got Linux training from Savoir-Faire-Linux at age 20, and got his RHCE on RHEL in 2011 He's been a consultant in the past, but he's now an employee for a provincial government agency for which he manages the infrastructure (servers, workstations, network, security, virtualization, SAN/NAS, PBX) He's a big fan of open source software and its underlying philosophy He's worked with Debian, Ubuntu, SUSE, but what he knows best is RHEL-based distributions He's known for his contributions to the MailScanner project (he has been a technical reviewer for the MailScanner book), but also dedicated his time to different open source projects such as Mondo Rescue, OTRS, SpamAssassin, pfSense, and a few others I thank my lover, Lysanne, who accepted to allow me some free time slots for this review even with a two year-old and a six month-old to take care of The presence of these three human beings in my life is simply invaluable I must also thank my friend Sébastien, whose generosity is only matched by his knowledge and kindness I would never have reached that high in my career if it wasn't for him Bent Benedetti works as a Linux System Administrator, for the University of Nice Sophia Antipolis, where he graduated with a degree in computer science He is always interested in resolving new problems, as it's an opportunity to work with new technologies Bent loves helping users, teaching students, and writing technical articles for GNU/Linux Magazine and GNU/Linux Pratique—the historical monthly magazines about Linux in France He would like to thank every person who dedicates their time developing free and open source software, and making them available for us to play with www.it-ebooks.info Frank Lemmon is a Senior Software QA Professional with seven years of CentOS experience His past work experience includes working at Yahoo!, Qualys, Hewlett-Packard, and various other start-ups He worked as a reviewer on the first edition of the book, OWASP Developer's Guide In memory of my father, who valued the importance of education and was an inspiration to me www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount offers and more You might want to visit www.PacktPub.com for support files and downloads related to your book Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy Get in touch with us at service@packtpub.com for more details At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks TM http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library Here, you can access, read and search across Packt's entire library of books. Why Subscribe? ff Fully searchable across every book published by Packt ff Copy and paste, print and bookmark content ff On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books Simply use your login credentials for immediate access www.it-ebooks.info www.it-ebooks.info This book is dedicated to my family I couldn't have done it without you www.it-ebooks.info ... 64 -bit installation you will need: CentOS- 6. X-x 86_ 64-bin-DVD1.iso CentOS- 6. X-x 86_ 64-bin-DVD2.iso ff To complete a full 32-bit installation you will need: CentOS- 6. X-i3 86- bin-DVD1.iso CentOS- 6. X-i3 86- bin-DVD2.iso... this: 087713752fa88c03a5e8471c 661 ad1a2 CentOS- 6. X-x 86_ 64-minimal.iso Whereas the display in command prompt may show: 087713752fa88c03a5e8471c 661 ad1a2 *CentOS- 6. X-x 86_ 64-minimal.iso You should repeat... full 64 -bit DVD-based installation, you will need both: CentOS- 6. X-x 86_ 64-bin-DVD1.iso CentOS- 6. X-x 86_ 64-bin-DVD2.iso For a full 32-bit DVD-based installation, you will need both: CentOS- 6. X-i3 86- bin-DVD1.iso