Apple Pro Training Series: OS X Lion Server Essentials
Arek Dreyer and Ben Greisler
Apple Pro Training Series: OS X Lion Server Essentials
Arek Dreyer and Ben Greisler
Copyright 2012 by Peachpit Press
Published by Peachpit Press. For information on Peachpit Press books, contact:
Peachpit Press
1249 Eighth Street
Berkeley, CA 94710
(510) 524-2178
www.peachpit.com
To report errors, please send a note to .
Peachpit Press is a division of Pearson Education.
Apple Series Editor: Lisa McClain
Production Coordinator: Kim Elmore, Happenstance Type-O-Rama
Technical Editor: Andrina Kelly
Apple Reviewer: John Signa
Apple Project Manager: Judy Lawrence
Copy Editor: Jessica Grogan
Proofreader: Jessica Grogan
Compositor: Chris Gillespie, Happenstance Type-O-Rama
Indexer: Jack Lewis
Cover Illustration: Kent Oberheu
Cover Production: Chris Gillespie, Happenstance Type-O-Rama
Notice of Rights
All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For information on getting permission for reprints and excerpts, contact .
Notice of Liability
The information in this book is distributed on an As Is basis, without warranty. While every precaution has been taken in the preparation of the book, neither the authors nor Peachpit Press shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it.
Trademarks
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Peachpit was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book.
ISBN 13: 978-0-321-77508-5 ISBN 10: 0-321-77508-2
9 8 7 6 5 4 3 2 1 Printed and bound in the United States of America
Acknowledgments
We extend a big thank you to all the people at Apple for getting Lion and Lion Server out the door, and of course to Steve Jobs, for inspiring us all.
Thanks to the Mac sysadmin community for always striving to better serve your users.
Thanks to Lisa McClain for gently making sure these materials made it into your hands, and to Jessica Grogan and Kim Elmore for working their editorial and production magic.
Thank you, also, to the following people. Without your help, this book would be much less than what it is: David Colville, Gordon Davisson, John DeTroye, Andre LaBranche, Charles Edge, Matthias Fricke, Allen Hancock, Aaron Hix, Eric Hemmeter, Jason Johnson, Adam Karneboge, Andrina Kelly, Ian Kelly, Bob Kite, Judy Lawrence, Chad Lawson, Woody Lidstone, David Long, Tip Lovingood, Duane Maas, Andrew MacKenzie, Jussi-Pekka Mantere, Steve Markwith, Kim Mitchell, Nader Nafissi, Tim Perfitt, Mike Reed, Schoun Regan, Jeremy Robb, John Signa, Chris Silvertooth, David Starr, Kevin White, Simon Wheatley, and Josh Wisenbaker.
Arek Dreyer Thanks to my lovely wife, Heather Jagman, for her love and support.
Ben Greisler My love and appreciation to my wife, Ronit, and my children, Galee and Noam, for supporting me through this project.
Getting Started
This book is based on the same criteria used for Apples official training course, Lion 201: OS X Server Essentials 10.7, which provides an in-depth exploration of Lion Server. This book serves as a self-paced tour of the breadth of functionality of Lion Server and the best methods for effectively supporting users of Lion Server systems.
The primary goal of this book is to prepare technical coordinators and entry-level system administrators for the tasks demanded of them by Lion Server; you will learn how to install and configure Lion Server to provide network-based services, such as configuration profile distribution and management, file sharing, authentication, and collaboration services. To become truly proficient, youll need to learn the theory behind the tools you will use. For example, not only will you learn how to use the Server appthe tool for managing services and accountsbut you will also learn about the ideas behind profile management, how to think about access to and control of resources, and how to set up and distribute profiles to support your environment.
You will learn to develop processes to help you understand and work with the complexity of your system as it grows. Even a single Lion Server computer can grow into a very complicated system, and creating documentation and charts can help you develop processes so that additions and modifications can integrate harmoniously with your existing system.
This book assumes that you have some knowledge of OS X Lion, because Lion Server is built on top of Lion. Therefore, basic navigation, troubleshooting, and networking are all similar regardless of whether the operating system is Lion or Lion Server. This book concentrates on the features that are unique to Lion Server. When working through this book, a basic understanding and knowledge of Lion is preferred, including knowledge of how to troubleshoot the operating system. Refer to Apple Pro Training Series: OS X Lion Support Essentials from Peachpit Press if you need to develop a solid working knowledge of Lion.
Unless otherwise specified, all references to Lion and Lion Server refer to version 10.7.2, which was the most current version available at the time of writing. Due to subsequent upgrades, some screen shots, features, and procedures may be slightly different from those presented on these pages.
Learning Methodology
This book is based on lectures and exercises provided to students attending Lion 201: OS X Server Essentials 10.7, a three-day, hands-on course designed to give technical coordinators and entry-level system administrators the skills, tools, and knowledge to implement and maintain a network that uses Lion Server. For consistency, this book follows the basic structure of the course material, but you may complete it at your own pace.
The exercises contained within this book are designed to let you explore and learn the tools necessary to manage Lion Server. They move along in a predictable fashion, starting with the installation and setup of Lion Server and moving to more advanced topics such as performing multiprotocol file sharing, using access control lists, and permitting Lion Server to manage network accounts. If you already have a Lion Server set up, you can skip ahead to some of the later exercises in the book, provided you understand the change in IP addressing from the examples to your server and are not running your server as a production server.
This book serves as an introduction to Lion Server and is not meant to be a definitive reference. Because Lion and Lion Server contain several open source initiatives, it is impossible to include all the possibilities and permutations here. First-time users of Lion Server and users of other server operating systems who are migrating to Lion Server have the most to gain from this book; still, others who are upgrading from previous versions of Lion Server will also find this book a valuable resource.