ebook img

Building a SharePoint 2016 Home Lab: A How-To Reference on Simulating a Realistic SharePoint Testing Environment PDF

507 Pages·2016·40.44 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Building a SharePoint 2016 Home Lab: A How-To Reference on Simulating a Realistic SharePoint Testing Environment

Building a SharePoint 2016 Home Lab A How-To Reference on Simulating a Realistic SharePoint Testing Environment — Stacy Simpkins MCT, MCSE SharePoint 2013, MCSA Server 2012, MCITP EA SharePoint 2010 Building a SharePoint 2016 Home Lab A How-To Reference on Simulating a Realistic SharePoint Testing Environment Stacy Simpkins MCT, MCSE SharePoint 2013, MCSA Server 2012, MCITP EA SharePoint 2010 Building a SharePoint 2016 Home Lab: A How-To Reference on Simulating a Realistic SharePoint Testing Environment Stacy Simpkins Brandon, Florida, USA ISBN-13 (pbk): 978-1-4842-2169-3 ISBN-13 (electronic): 978-1-4842-2170-9 DOI 10.1007/978-1-4842-2170-9 Library of Congress Control Number: 2016948362 Copyright © 2016 by Stacy Simpkins This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Cover image designed by freepik The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Managing Director: Welmoed Spahr Lead Editor: Gwenan Spearing Technical Reviewer: Fabio Claudio Ferracchiati Editorial Board: Steve Anglin, Pramila Balan, Laura Berendson, Aaron Black, Louise Corrigan, Jonathan Gennick, Robert Hutchinson, Celestin Suresh John, Nikhil Karkal, James Markham, Susan McDermott, Matthew Moodie, Natalie Pao, Gwenan Spearing Coordinating Editor: Melissa Maldonado Copy Editor: Kim Burton-Weisman Compositor: SPi Global Indexer: SPi Global Artist: SPi Global Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected] , or visit w ww.springeronline.com . Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation. For information on translations, please e-mail [email protected] , or visit w ww.apress.com . Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at w ww.apress.com/bulk-sales . Any source code or other supplementary materials referenced by the author in this text are available to readers at w ww.apress.com/9781484221693 . For detailed information about how to locate your book’s source code, go to www.apress.com/source-code/ . Readers can also access source code at SpringerLink in the Supplementary Material section for each chapter. Printed on acid-free paper Contents at a Glance About the Author .....................................................................................................xi About the Technical Reviewer ...............................................................................xiii Acknowledgments ...................................................................................................xv Introduction ...........................................................................................................xvii ■ Chapter 1: Home Lab Hardware and Software.......................................................1 ■ Chapter 2: Hyper-V vs. VMware and Virtual Switch Creation ..............................11 ■ Chapter 3: Creating Your Domain ........................................................................21 ■ Chapter 4: Active Directory .................................................................................97 ■ Chapter 5: Domain Name System (DNS) ............................................................117 ■ Chapter 6: Joining the Machines to the Domain ...............................................133 ■ Chapter 7: Group Policy .....................................................................................151 ■ Chapter 8: Certifi cate Authority .........................................................................175 ■ Chapter 9: SQL Server .......................................................................................213 ■ Chapter 10: Installing and Confi guring SharePoint ...........................................257 ■ Chapter 11: SharePoint Service Applications, HNSCs, and an App Catalog .......333 ■ Chapter 12: Installing Dev Tools ........................................................................455 ■ Chapter 13: Troubleshooting .............................................................................465 Index .....................................................................................................................485 iii Contents About the Author .....................................................................................................xi About the Technical Reviewer ...............................................................................xiii Acknowledgments ...................................................................................................xv Introduction ...........................................................................................................xvii ■ Chapter 1: Home Lab Hardware and Software.......................................................1 Drinking the Kool-Aid .......................................................................................................1 Not a Single-Server SharePoint Farm.....................................................................................................1 Operating Systems and Software .....................................................................................2 System Hardware Requirements ............................................................................................................2 But What If I Only Have 8GB of RAM? .....................................................................................................3 But What If I Don’t Have Windows 10 Pro? .............................................................................................3 Software Requirements ..........................................................................................................................4 Planning Your Environment .....................................................................................................................5 Not a Comprehensive Text of All Microsoft-y Things ..............................................................................5 What Are You Going to Call Your Domain? ..............................................................................................8 Software Download Links .......................................................................................................................9 Further Reading: a.k.a. The “Do You Want to Know More?” Section ......................................................9 Summary ........................................................................................................................10 ■ Chapter 2: Hyper-V vs. VMware and Virtual Switch Creation ..............................11 Hyper-V Manager ............................................................................................................11 Which Adapter to Choose ...............................................................................................17 v ■ CONTENTS Troubleshooting a Confi guration Error ............................................................................17 Do You Want to Know More? ..........................................................................................19 Summary ........................................................................................................................20 ■ Chapter 3: Creating Your Domain ........................................................................21 Creating the Machines ...................................................................................................21 Inventory Planning ................................................................................................................................21 Dorking Your Hosts File .........................................................................................................................22 Creating the VMs ..................................................................................................................................24 Confi gure the Domain Controller (and Additional Servers) ...................................................................33 Confi guring the Domain Controller .......................................................................................................42 Additional Member Servers and Other Steps .......................................................................................76 Summary ........................................................................................................................96 ■ Chapter 4: Active Directory .................................................................................97 Confi guring Active Directory ...........................................................................................97 Creating User Accounts ................................................................................................101 PowerShell Example ...........................................................................................................................107 Thwart Those Hackers ........................................................................................................................107 Do You Want to Know More? ...............................................................................................................116 Summary ......................................................................................................................116 ■ Chapter 5: Domain Name System (DNS) ............................................................117 DNS Zones ....................................................................................................................117 We Are Using “Secure Only” ...............................................................................................................117 How Does the Information Replicate? ................................................................................................118 Resolution and Types of DNS Records ..........................................................................118 Host (A) and (AAAA) ............................................................................................................................118 Canonical Name (CNAME) Alias Record ..............................................................................................119 Pointer (PTR) Record ...........................................................................................................................119 Do You Want to Know More? ...............................................................................................................131 Summary ......................................................................................................................131 vi ■ CONTENTS ■ Chapter 6: Joining the Machines to the Domain ...............................................133 The Time You’ve Been Waiting For ...............................................................................133 Do You Want to Know More? ...............................................................................................................150 Summary ......................................................................................................................150 ■ Chapter 7: Group Policy .....................................................................................151 What Is a GPO? .............................................................................................................151 GPOs in Play .................................................................................................................151 LSD Overuse .................................................................................................................152 How It Works and the LSDOU Again .............................................................................152 Local Security Policy a.k.a. secpol.msc .......................................................................152 Sites .............................................................................................................................152 Domains .......................................................................................................................153 Organizational Units .....................................................................................................153 Are Your Eyes Crossed Yet? ..........................................................................................153 Settings ........................................................................................................................153 Default Domain Policy ..................................................................................................153 Default Domain Controllers Policy ................................................................................154 Restricted Groups Policy ..............................................................................................154 Local Admin Rename and New Local Admin User ........................................................167 Do You Want to Know More? ........................................................................................173 Summary ......................................................................................................................173 ■ Chapter 8: Certifi cate Authority .........................................................................175 License and Registration, Please? ...............................................................................175 Communicate Securely ................................................................................................176 Do You Want to Know More? ........................................................................................211 Summary ......................................................................................................................211 vii ■ CONTENTS ■ Chapter 9: SQL Server .......................................................................................213 Do You Want to Know More? ........................................................................................256 Summary ......................................................................................................................256 ■ Chapter 10: Installing and Confi guring SharePoint ...........................................257 Prerequisites for Installing SharePoint .........................................................................257 Purpose of SharePoint ........................................................................................................................257 Using a Client Alias .............................................................................................................................257 Overview of the Install and Confi guration Process .............................................................................259 Installing the Prerequisites .................................................................................................................260 Running Setup ....................................................................................................................................271 Confi gure SQL for the Install ...............................................................................................................278 Recap of the Needed Service Accounts ..............................................................................................287 SharePoint Install and Central Administration Scripts ........................................................................293 Installing SharePoint Service Applications .........................................................................................299 Join the Servers to the Farm Running Central Admin on SSL ............................................................307 Do You Want to Know More? ...............................................................................................................332 Summary ......................................................................................................................332 ■ Chapter 11: SharePoint Service Applications, HNSCs, and an App Catalog .......333 Additional Service Applications, HNSCs, and an App Catalog ......................................333 No “Sneaky Pete” Business, SharePoint! .....................................................................346 Creating a Search Service Application and a User Profi le Service Application ............351 User Profi le Service Creation .......................................................................................356 Managed Metadata ......................................................................................................397 Quotas ..........................................................................................................................403 Additional Confi guration ...............................................................................................404 Host-named Site Collections (HNSCs) vs. PBSCs .........................................................405 Minimal Download Strategy vs. Publishing Infrastructure ...........................................416 Enterprise and Standard Features................................................................................416 Search Center ...............................................................................................................416 viii ■ CONTENTS Web Applications, Site Collections, and Quotas ...........................................................434 SharePoint Store ..........................................................................................................439 Publishing Infrastructure ..............................................................................................448 Not in Conclusion, But a Good Start .............................................................................452 Like a Fly Hitting a Windshield .....................................................................................452 Do You Want to Know More? ........................................................................................452 Summary ......................................................................................................................453 ■ Chapter 12: Installing Dev Tools ........................................................................455 SharePoint Designer Installation ..................................................................................455 Visual Studio Installation ..............................................................................................458 Do You Want to Know More? ...............................................................................................................463 Summary ......................................................................................................................463 ■ Chapter 13: Troubleshooting .............................................................................465 Networking ...................................................................................................................465 Issues with Networking, Joining Machines, and Connections ............................................................465 Mstsc.exe............................................................................................................................................467 Incorrect Password or Account ...........................................................................................................469 DNS Records .......................................................................................................................................469 Not Joined to the Domain ...................................................................................................................471 A Weirdly Named DC ...........................................................................................................................471 Mapping Drives ...................................................................................................................................472 Are the Drives Filling up on Your C? ...................................................................................................473 Getting Scripts and Distributed Cache to Run ..............................................................480 Scripts ................................................................................................................................................480 Distributed Cache ...............................................................................................................................481 Removing Search and/or User Profi le Service Application ...........................................481 Search Service ...................................................................................................................................481 User Profi le Service Application .........................................................................................................481 ix

Description:
This book is a step-by-step guide to building your own SharePoint farm in a home lab setting. Learn how to build a windows domain and then join servers into the domain in order to create your own testing and learning environment. After you get the domain stood up, where you go from there is up to yo
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.