About This eBook ePUB is an open, industry-standard format for eBooks. However, support of ePUB and its many features varies across reading devices and applications. Use your device or app settings to customize the presentation to your liking. Settings that you can customize often include font, font size, single or double column, landscape or portrait mode, and figures that you can click or tap to enlarge. For additional information about the settings and features on your reading device or app, visit the device manufacturer’s Web site. Many titles include programming code or configuration examples. To optimize the presentation of these elements, view the eBook in single- column, landscape mode and adjust the font size to the smallest setting. In addition to presenting code and configurations in the reflowable text format, we have included images of the code that mimic the presentation found in the print book; therefore, where the reflowable format may compromise the presentation of the code listing, you will see a “Click here to view code image” link. Click the link to view the print-fidelity code image. To return to the previous page viewed, click the Back button on your device or app. ® Oracle Solaris 11 System Administration Bill Calkins Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City 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 the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U.S. Corporate and Government Sales (800) 382-3419 [email protected] For sales outside the United States, please contact: International Sales [email protected] Visit us on the Web: informit.com/ph Library of Congress Cataloging-in-Publication Data Calkins, Bill. Oracle Solaris 11 system administration / Bill Calkins. pages cm Includes index. ISBN 978-0-13-300710-7 (paperback : alkaline paper) 1. Operating systems (Computers) 2. Solaris (Computer file) I. Title. QA76.774.S65C35 2013 005.4'32—dc23 2013010583 Copyright © 2013, Bill Calkins All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290. ISBN-13: 978-0-13-300710-7 ISBN-10: 0-13-300710-3 Text printed in the United States on recycled paper at Edwards Brothers Malloy in Ann Arbor, Michigan. First printing, June 2013 Editor-in-Chief Mark L. Taub Acquisitions Editor Greg Doench Development Editor Chris Zahn Managing Editor John Fuller Project Editor Elizabeth Ryan Copy Editor Stephanie Geels Indexer Dick Evans, Infodex Proofreader Geneil Breeze Technical Reviewer John Philcox Cover Designer Alan Clements Compositor diacriTech Thank you to my family for putting up with the time I spend writing. Although I was there physically, I was away most of the time mentally. Writing this book took away valuable family time, and I will try to make it up now that I’m finally finished (writing, that is). Kids, it’s ok to come into my office and play your games again! Contents Preface Acknowledgments About the Author Chapter 1 Installing Oracle Solaris 11 Preparation for Installing the OS Oracle Solaris Versions Selecting the Platform Methods of Installation Obtaining the Installation Media Using the Live Media Installer Logging In Using the Interactive Text Installer: x86 Using the Interactive Text Installer: SPARC Verifying the Operating Environment Upgrading from a Previous Version of Oracle Solaris Changing an Oracle Solaris Instance Reconfigure an Oracle Solaris Instance Unconfigure an Oracle Solaris Instance Updating the OS Summary Chapter 2 Managing and Updating Software with IPS Understanding IPS Package FMRI Publisher Repository Image BE Distribution Constructor Package Lifecycle Package Dependencies Consolidation Incorporation Authority Installing and Managing Packages Package Management Commands (Command Line) BEs Manage BEs List the BEs Create a New BE Change the Default BE Mount an Inactive BE Rename a BE Uninstall a BE Manage Software Packages in an Inactive BE Update the OS Oracle Solaris Version Names Periodic SRUs Configure a Network-Based Support Repository Configure a Local Support Repository Update Oracle Solaris to a New Release Summary Chapter 3 Boot and Shutdown Procedures for SPARC and x86-Based Systems The Boot Process: SPARC Powering On the System The OpenBoot Environment Accessing the OpenBoot Environment System Console OpenBoot Firmware Tasks The OpenBoot Architecture The OpenBoot Interface PROM Device Tree (Full Device Pathnames) OpenBoot Device Aliases OpenBoot NVRAM OpenBoot Security OpenBoot Diagnostics Booting a SPARC System The boot Command Booting from a ZFS Boot Disk Booting an x86-Based System The BIOS GRUB bootadm Command The Boot Archive The Kernel The init Phase SMF The Service Configuration Repository Service FMRI
Description: