build a sharepoint virtual machine for training and development

78
Bu 20 For Tra If you wo developm necessary assemble uild 010 ining and ould like to b ment, but do y componen e into your o d a Vi Developm e build your o on’t want to nts are availa own custom Sh irtu e nt own SharePo spend the m able as trialw environmen hare ual oint 2010 ser money for the ware or freew nt. This book ePo Ma rver environ e software, t ware that yo k shows you oint ach nment for tra then take he ou can down u how. t hine aining and eart:: all of th nload and the e he en

Upload: stephan-bren

Post on 30-Mar-2016

225 views

Category:

Documents


5 download

DESCRIPTION

Step-by-step guide for creating your own SharePoint 2010 development and training environment using freely available or trial versions of all software.

TRANSCRIPT

Page 1: Build a SharePoint Virtual Machine for Training and Development

Bu20For Tra

If you wodevelopmnecessaryassemble

uild010

ining and

ould like to bment, but doy componene into your o

d a ViDevelopme

build your oon’t want to nts are availaown custom

Shirtu

ent

own SharePospend the m

able as trialwenvironmen

hareual

oint 2010 sermoney for theware or freewnt. This book

ePoMa

rver environe software, tware that yok shows you

ointachnment for trathen take he

ou can downu how.

t hine

aining and eart:: all of thnload and the

e

he en

Page 2: Build a SharePoint Virtual Machine for Training and Development

ii

About This Book

Building a SharePoint 2010 Virtual Machine for Training and Development

This book is dedicated to the entry-level person interested in quickly gaining an understanding of the essential processes involved with SharePoint planning, installation, administration and maintenance.

Published by

Stephan Albert Bren

August 20, 2012

Copyright © by Stephan Albert Bren

Page 3: Build a SharePoint Virtual Machine for Training and Development

iii

Contents Introduction ................................................................................................................................................ 1

What this book covers ........................................................................................................................... 1

What you need to use this book ........................................................................................................... 1

How this book is structured ................................................................................................................. 2

Assemble the Software .............................................................................................................................. 3

Build the Virtual Machine ......................................................................................................................... 5

Introduction ............................................................................................................................................ 5

Install VMware Player ........................................................................................................................... 5

Start the New Virtual Machine wizard ............................................................................................... 5

Customize the VM ................................................................................................................................. 6

Summary ................................................................................................................................................. 8

Install and Configure Windows Server 2008 R2 .................................................................................... 9

Install Windows Server 2008 R2 .......................................................................................................... 9

Configure the Administrator password ........................................................................................... 10

Install VMware Tools .......................................................................................................................... 11

Configure the Administrator Account .............................................................................................. 12

Configure Server Name ...................................................................................................................... 13

Configure IE Security .......................................................................................................................... 14

Configure Windows Firewall ............................................................................................................. 15

Enable Desktop Experience and Windows PowerShell Features ................................................. 15

Enable Active Directory Domain Services Role ............................................................................... 17

Install the Network Adaptor .............................................................................................................. 18

Install Active Directory Domain Services ......................................................................................... 20

Disable LoopBackCheck ...................................................................................................................... 22

Enable Remote Access ......................................................................................................................... 23

Install Service Packs ............................................................................................................................. 24

Perform a Windows Update ............................................................................................................... 24

Install and Configure SQL Server 2008 R2 ........................................................................................... 27

Run the System Configuration Checker ........................................................................................... 27

Configure Service Accounts ............................................................................................................... 29

Page 4: Build a SharePoint Virtual Machine for Training and Development

iv

Configure Collations ............................................................................................................................ 30

Configure the Database Engine ......................................................................................................... 32

Configure Reporting Services ............................................................................................................ 33

Begin Installation ................................................................................................................................. 33

Test the installation .............................................................................................................................. 34

Install Service Packs ............................................................................................................................. 35

Install and Configure SharePoint Server 2010 ..................................................................................... 37

Install SharePoint 2010 Prerequisites ................................................................................................ 37

Create User Accounts for SharePoint 2010 Administration and Services .................................... 38

Create a SQL Server Login for the SharePoint Administrator ....................................................... 41

Delegate Administration of the SharePoint Server ......................................................................... 43

Open Server Manager, and then navigate to the Users node. ....................................................... 43

Install the SharePoint Server 2010 Binaries ...................................................................................... 46

Configure SharePoint Server 2010 ..................................................................................................... 47

Configure the Farm .............................................................................................................................. 48

Post-Installation Tasks ............................................................................................................................. 51

Start Additional Services ..................................................................................................................... 51

Configure Local DNS........................................................................................................................... 52

Configure Alternate Access Mappings ............................................................................................. 53

Configure Internet Explorer for Automatic Windows Authentication ........................................ 55

Configure Firefox for Automatic Windows NTLM Authentication ............................................. 56

Configure Site Collection Administrators ........................................................................................ 57

Resolve Initial Health Analyzer Issues ................................................................................................. 59

View Health Analyzer Issues ............................................................................................................. 59

Server farm account should not be used for other services ........................................................... 60

Unattended Service Account Application ID is not specified or has an invalid value .............. 62

Databases exist on servers running SharePoint Foundation ......................................................... 66

Missing server side dependencies ..................................................................................................... 66

Outbound e-mail has not been configured ....................................................................................... 68

Built-in accounts are used as application pool or service identities ............................................. 68

Verify that the Activity Feed Timer Job is enabled ......................................................................... 68

Page 5: Build a SharePoint Virtual Machine for Training and Development

v

Validate the My Site Host and individual My Sites are on a dedicated Web application and separate URL domain .......................................................................................................................... 69

References ................................................................................................................................................. 71

Page 6: Build a SharePoint Virtual Machine for Training and Development

vi

This page intentionally blank.

Page 7: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

1

INTRODUCTION

If you would like to build your own SharePoint 2010 server environment for training and development, but don’t want to spend the money for the software, then take heart: all of the necessary components are available as trialware or freeware that you can download and then assemble into your own custom environment. This eBook shows you how.

What this book covers

This eBook provides step-by-step instructions for assembling the needed software, building the VM, and then installing and configuring Windows Server 2008 R2 SP1, SQL Server 2008 R2, and SharePoint Server 2010. It will also provide steps for installing the helpful SharePoint Developer utilities and SDK; and a few tips and tricks are tossed in along the way for good measure. Key steps are accompanied by graphical illustrations helping you to be sure that you are on track and experiencing the right response. In fact, with this book, you will become familiar with every step of this process without even having to sit in front of the computer.

In this eBook, you will first build the VM environment using the freely available VMware Player Version 5. You’ll then install and configure a trial version of the Microsoft Windows Server 2008 R2 operating system. Once that’s done, you’ll move on to installing and configuring a trial version of the Microsoft SQL Server 2008 R2 Enterprise server. Lastly, you’ll install and configure a trial version of SharePoint 2010 Server Enterprise. If you want, you can then install SharePoint Designer 2010, which is freely available by Microsoft, along with developer resources.

By working through all of the steps in this eBook, you’ll have the satisfaction of knowing that you built your own Windows 2008 domain and installed a fully functioning instance of the SharePoint 2010 small farm configuration.

What you need to use this book

Before you get started, you do need to have essential hardware resources. The author recommends that your machine meet the following minimum requirements for the best build experience:

• 8 GB RAM

• Hardware-based VM acceleration

• 40 GB disk space

• DVD Writer

Page 8: Build a SharePoint Virtual Machine for Training and Development

Introduction

2

It will also be helpful to have an Internet connection. Note: you’ll need the DVD writer to install the downloaded trial versions to a DVD installation disk. If your machine meets these minimum requirements, then you’re ready to go.

How this book is structured

Chapter 1: Assemble the Software

Chapter 2: Build the Virtual Machine

Chapter 3: Install and Configure Windows Server 2008 R2

Chapter 4: Install and Configure SQL Server 2008 R2

Chapter 5: Install and Configure SharePoint Server 2010

Chapter 6: Post-Installation Tasks

Chapter 7: Resolve Initial Health Analyzer Issues

Page 9: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

3

1 ASSEMBLE THE SOFTWARE

All of the software components that you’ll need are available either as freeware or trialware. These are the software components that you’ll need to obtain and their Internet download sites (as of this edition):

VMware Player

http://www.vmware.com/products/player/

Microsoft Windows Server 2008 R2 with Service Pack 1

http://msdn.microsoft.com/en-us/evalcenter/ee175713.aspx

Microsoft® SQL Server® 2008 R2 SP2 - Express Edition

http://www.microsoft.com/en-us/download/details.aspx?id=30438

Microsoft SharePoint Server 2010 Trial

http://www.microsoft.com/en-us/download/details.aspx?id=16631

Service Pack 1 for Microsoft SharePoint Server 2010 (KB2460045)

http://www.microsoft.com/en-us/download/details.aspx?id=26623

Service Pack 2 for Microsoft SharePoint 2010 (KB2687453)

http://www.microsoft.com/en-us/download/details.aspx?id=39672

Microsoft SharePoint Designer 2010 (32-bit)

http://www.microsoft.com/en-us/download/details.aspx?id=16573

Service Pack 1 for Microsoft SharePoint Designer 2010 (KB2460057) 32-bit Edition

http://www.microsoft.com/en-us/download/details.aspx?id=26628

Service Pack 2 for Microsoft SharePoint Designer 2010 (KB2687463) 32-Bit Edition

Page 10: Build a SharePoint Virtual Machine for Training and Development

Assemble the Software

4

http://www.microsoft.com/en-us/download/details.aspx?id=39649

Download all of the software components noted above, and then burn the required DVDs. Once you have finished these steps, move on to the next chapter.

Also, review the Microsoft TechNet article on SharePoint 2010 hardware and software requirements:

Hardware and software requirements (SharePoint Server 2010):

http://technet.microsoft.com/en-us/library/cc262485(v=office.14).aspx

Page 11: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

5

2 BUILD THE VIRTUAL MACHINE

Introduction

In this chapter, you will first install the freely available VMware Player, and then you will create a new virtual machine (VM) using the player. Creating the new VM prepares the way for installing the operating system.

Install VMware Player

The downloaded file is less than a 100 MB in size. When installing, be sure that your account has administrator privileges or that you are logged in under the Administrator account at your workstation.

When ready, just double-click the file. This will launch the installer. Follow all defaults or otherwise as desired. Installation will complete after only a few minutes. Once installation is completed, move to the next section.

Start the New Virtual Machine wizard

1. Insert the Windows Server DVD installation disk into your workstations media drive, and then launch VMware Player. The VMware Player welcome panel appears.

2. Click Create a New Virtual Machine. The Welcome page of the New Virtual Machine Wizard appears.

3. Select the option, I will install the operating system later, and then click Next. The Select a Guest Operating System page of the wizard appears.

Page 12: Build a SharePoint Virtual Machine for Training and Development

Build the Virtual Machine

6

4. VMware Player will likely have already detected the operating system type on the installation DVD currently in the disk drive. If not, select Microsoft Windows as the guest operating system, and then select Windows Server 2008 R2 x64 as the version.

5. Click Next. The Name the Virtual Machine page of the wizard appears.

6. Enter a name for your SharePoint 2010 development and training VM, and then navigate to where you want the VM files to be stored.

7. Click Next. The Specify Disk Capacity page of the wizard appears.

8. Adjust the setting as desired, and then select the Store virtual disk as a single file option. For the purposes of this demonstration and for most home training and development usage, 40 GB is sufficient.

9. Click Next. The Ready to Create Virtual Machine page of the wizard appears.

Customize the VM

1. Click the Customize Hardware button. This opens the Hardware panel.

Page 13: Build a SharePoint Virtual Machine for Training and Development

7

Cit

2. M

3. TCdre

4. T

5. Fthmm

6. Se

7. Eth

Clicking an ittem on the ri

Make sure th

Then select thConnection t

rive. This wesponsivene

Then select th

or the purpohe Bridged s

my VM to be machine and

elect the Dis

nable the Achis will impr

tem on the leight side.

at the Memo

he New CD/to the actual

will improve ess.

he Network

oses of this psetting as the seen on my simplifies re

splay item.

ccelerate 3Drove respons

eft side of th

ory item has

/DVD item a drive letter performanc

Adaptor ite

procedure, I e simplest. T

y network as emoting into

D graphics opsiveness.

he panel open

s been select

and set the of your diskce and

em.

have selecteThis enables just anothero the server.

ption, if this

ns the config

ted, and then

k

ed s r .

is available

DoStjusincYowo

guration opt

n adjust the

e on your sys

on’t enable thtatus setting fst yet, as this convenience ou’ll enable itorry.

tions for tha

memory to 4

stem. Enabl

he Device for the adapto would installation. t later, don’t

at

4GB.

ing

or

Page 14: Build a SharePoint Virtual Machine for Training and Development

Build the Virtual Machine

8

8. Click Close. You are returned to the New Virtual Machine wizard.

9. Click Finish. After a few moments, you’ll be returned to the VMware Welcome page, but now it will have your new VM listed at left.

You have successfully created your a VM using VMware Player.

Summary

If you take a peek into the folder where this VM is saved, you’ll see that the hard disk file is only a fraction of the 40GB size that you originally specified. This is because VMware player does not have the ability to create the full size disk. Don’t be worried: this actual physical size of the disk file is transparent to the guest operating system, which for all intents and purposes sees a disk exactly the size that you originally created for the VM.

Under the hood, VMware Player continually monitors storage requirements and expands the physical size of the disk file in response to need. It will continue to expand this file until it reaches the maximum 40 GB size you configured, and then no further expansion is performed.

Now you’re ready to install and configure Windows Server 2008 R2 and to create your own domain. Continue to the next chapter to get started.

Page 15: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

9

3 INSTALL AND CONFIGURE WINDOWS SERVER 2008 R2

In this chapter, you will perform all of the steps necessary to fully install and configure a trial version of Windows Server 2008 R2 SP1 server, and then you will create a new domain. You’ll need the new Windows Server 2008 DVD that you burned previously. Additionally, if you want to update the server, after installing and configuring it, you’ll need to have an Internet connection. Total installation time is about 45 minutes. Good luck!

Install Windows Server 2008 R2

1) To get started with this installation, ensure that your Windows Server installation DVD is in the disk drive

2) Click Play virtual machine on the VMware Player welcome page. The VMware Player view will change, and become dark, just as if you were viewing a DOS window. After a few moments, you will see the Removable Devices prompt appear, listing the devices available to connect to the VM. Ignore this.

3) Click OK. After a few more moments, you will see the familiar Windows is loading files message, followed by the Install Windows prompts.

4) Accept the defaults, and then click Next.

5) Click Install now on the following prompt. The operating system version selection prompt appears.

6) Select Windows Server 2008 R2 Enterprise (Full Installation). At this point, you’ll see the VMware Tools installation prompt appear below the VM screen. Ignore this for the time being.

Page 16: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

10

7) Click Next. The License Terms prompt appears.

8) Check I accept the license terms.

9) Click Next. The installation type prompt appears.

10) Click on Custom (advanced). The Where do you want to install Windows? prompt appears.

11) Select the VM disk, and then click Next. This will launch the installation.

What follows is standard Windows installation. You’ll find that Windows installation proceeds fairly rapidly. Once it completes, and after a restart, you will be presented with the login screen requesting that you create a new password.

Configure the Administrator password

1) For this procedure, we’ll use “P@ssw0rd,” but use whatever password you find suitable. Enter your password into

2) Click the blue arrow or just press ENTER. A password confirmation screen is displayed.

3) Click OK. After a few moments, the Initial Configuration Tasks window is presented.

4) Enter a check into the Do not show this window at login option.

5) Click the Close button. The window closes, and then Server Manager window appears.

Page 17: Build a SharePoint Virtual Machine for Training and Development

Build a S

11

This cinstal

Install V

Installinginstallatiwindow.

1) Clickprom

SharePoint 20

completes thll VMware t

VMware T

g VMware toon. It also g.

k the Install Tmpt appears.

010 Virtual M

he installatioools

Tools

ools will enhgets rid of th

Tools button

Machine

on of Windo

hance your ue annoying y

n, on the yel

ows Server 20

user experienyellow anno

llow VMwar

008 R2. In th

nce using VMouncement b

re bar, at bot

he next secti

Mware Playbar at the bo

ttom. The S

ion, you wil

yer and are wttom of the V

Software Upd

l

worth VM

dates

Page 18: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

12

2) Click Download and Install. The AutoPlay prompt appears. This is due to the fact that VMware Tools is on a virtual disk that was mounted to the VM, after you clicked Download and Install.

3) Click Run setup64.exe. A progress bar appears. On completion of VMware Tools installation, the progress bar closes and the VMware Tools installation wizard appears.

4) Click Next. The Setup Type prompt appears.

5) Select the Typical installation type, and then click Next.

6) At the Ready to Install the Program prompt, click Install. A progress bar will appear for a few moments, and then the final page of the installation wizard appears.

7) Click Finish. You will then be prompted to restart the server.

8) Click Yes. The VM restarts. This completes the installation of VMware Tools.

Configure the Administrator Account

1) In Server Manager, go: Configuration > Local users and Groups > Users. Two accounts will be listed.

2) Right click on the Administrator item. A context menu appears.

3) Select Properties. The Administrator Properties dialog appears.

4) On the General tab, enter a check into the Password never expires option.

Page 19: Build a SharePoint Virtual Machine for Training and Development

Build a S

13

5) Click

Configu

1) In Ser

2) Click

3) ClickChan

4) Enterproce

SharePoint 20

k OK. The d

ure Server

rver Manage

k Change Sys

k the Changenge dialog ap

r a suitable nedure, the se

010 Virtual M

ialog closes.

r Name

er, look for t

stem proper

e button, on ppears.

name for theerver name w

Machine

.

the Server Su

rties. The Sy

the Comput

e server; leavwas changed

ummary sec

ystem Proper

ter Name tab

ve the workgd to spServer

ction, at righ

rties dialog a

b. The Comp

group at defr01.

ht.

appears.

puter Name/

fault. For the

/Domain

e purposes oof this

Page 20: Build a SharePoint Virtual Machine for Training and Development

5) Click

6) Click

7) Click

8) Click

Configu

1) Internwork

2) Logo

3) In Ser

4) Clickappe

5) Set bo

k OK. A prom

k OK to close

k OK. The d

k Restart Now

ure IE Sec

net Explorerking with a d

on to the VM

rver Manage

k Configure ars.

oth Admini

mpt indicati

e this promp

ialog closes,

w. The VM

curity

r security candevelopment

M. Server Ma

er, look for t

IE ESC. The

strators and

ng that a com

pt. You will b

, and a prom

will shutdo

n frequentlyt machine. I

anager will a

the Security

e Internet Ex

d Users to Of

Install

mputer resta

be returned

mpt appears

own and then

y be inconvenIn this sectio

appear.

Information

xplorer Enha

ff.

and Configu

art is needed

to the Syste

requesting y

n restart a m

nient, particon, you will

n section.

anced Secur

ure Window

d will appea

em Propertie

you to restar

minute or two

cularly whenswitch IE se

rity Configu

ws Server 200

ar.

es dialog.

rt the VM.

o later.

n you are meecurity off.

uration dialo

08 R2

14

erely

og

Page 21: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

15

6) Click OK. The dialog closes and you are returned to Server Manager.

Configure Windows Firewall

1) Go to Server Manager.

2) Click Go to Windows Firewall. Server Manager displays the Windows Firewall with Advanced Security page.

3) Click Windows Firewall Properties. The Windows Firewall with Advanced Security Properties dialog appears.

4) On the Domain, Private, and Public tabs, set the Firewall state property to Off.

5) Click OK. The dialog closes, and you are returned to Server Manager.

Enable Desktop Experience and Windows PowerShell Features

1) In Server Manager, scroll down until you see the Features Summary section.

2) Click Add Features. The Add Features Wizard dialog appears.

Page 22: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

16

3) In this dialog, look for Desktop Experience.

4) Enter a check for this feature. A prompt appears indicating that an additional component must also be installed.

5) Click Add Required Features. The prompt closes and you are returned to the Add Features wizard.

6) In this wizard, scroll down until you see Windows PowerShell Integrated Scripting Environment.

7) Enter a check for this feature. A prompt appears indicating that an additional component must also be installed.

8) Click Add Required Features. The prompt closes and you are returned to the Add Features wizard.

9) Click Next. The Confirmation page of the Add Features wizard is displayed.

10) Click Install. The Progress page of the Add Features wizard is displayed. After a few moments, the Results page of the Add Features wizard is displayed.

Page 23: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

17

11) Click Close. A prompt appears requesting whether you want to restart the machine.

12) Click Yes. The prompt closes, and the machine restarts.

13) Login to the server. After logging back in, the Results page of the Add Features wizard is again displayed, this time noting feature installation status.

14) Click Close.

Enable Active Directory Domain Services Role

1) In Server Manager, look for the Roles Summary section.

2) Click Add Roles. The Add Roles Wizard dialog appears.

3) Click Next. The Select Server Roles page is displayed.

4) Select Active Directory Domain Services.

5) Click Next. A page is displayed providing an introduction to AD and other information.

6) Click Next again. A confirmation page is displayed.

Page 24: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

18

7) Click Next. This begins installation of the selected role. A progress bar will appear. After the role installation has completed, the Results page is displayed.

8) Don’t click the link that starts the installation of AD services. If you do, it will eventually tell you that you cannot proceed since no adaptor exists. This is what you’ll install in the next section.

9) Click Close. The Add Roles Wizard closes.

Install the Network Adaptor

1) On the VMware Player toolbar, click Player, point to Manage, and then point to Virtual Machine Settings… Likewise, you can also press CTRL+D.

2) This opens the VMware Machine Settings dialog.

3) Select the Network Adaptor item, on the Hardware tab. Then, on the right panel, under Device status, enable the Connected and Connect at power on settings. Additionally, make sure that the Network connection setting is set to Bridged.

4) Click OK. The Virtual Machine Settings dialog closes.

5) On the Windows Desktop, click the Start button, point to Network, and then click Network. The Network dialog appears.

Page 25: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

19

6) On the Network dialog, click Network and Sharing Center. The Network and Sharing Center dialog appears.

7) In the View your active networks section, click Local Area Connection. The Local Area Connection Status dialog appears.

8) Click the Properties button. The Local Area Connection Properties dialog appears.

9) Select the listed item, Internet Protocol Version 4 (TCP/IPv4), and then click the Properties button. The Internet Protocol Version 4 (TCP/IPv4) Properties dialog appears.

10) Select the option Use the following IP address, and then enter the IP Address, Subnet mask, and Default gateway appropriate to your network. Now enter the Preferred DNS server and Alternate DNS server appropriate to your network.

Page 26: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

20

11) Click OK. The dialog closes, and you are returned to the Local Area Connection Status dialog. If everything went smoothly, you’ll note that the IPv4 Connectivity connection status is no Internet.

TIP: enable the option, Validate settings upon exit, for a quick check to be performed after clicking OK.

12) Click Close. The dialog closes, and you are returned to the Network and Sharing Center window.

13) Close this window as well.

Install Active Directory Domain Services

1) In Server Manager, in the left object tree, open up the Roles branch, and then select the Active Directory Domain Services item. The Active Directory Domain Services page is displayed.

2) On this page, look for the link, Run the Active Directory Domain Services Installation Wizard (dcpromo.exe).

3) Click this link. The first page of the Active Directory Domain Services Installation Wizard appears

4) Enable the option, Use advanced mode installation, and then click Next. The Operating System Compatibility page of the wizard appears.

5) Click Next again. The Choose a Deployment Configuration page of the wizard appears.

6) Select the option, Create a new domain in a new forest, and then click Next. The Name the Forest Root Domain page of the wizard appears.

Page 27: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

21

7) Enter a fully qualified domain name (FQDN). For the purposes of this procedure, I used AlsTechTips.Com. Enter a name suitable to your environment.

8) Click Next. A progress bar will appear momentarily. The Domain NetBIOS Name page of the wizard will then appear.

9) Accept the default value, and then click Next. The Set Forest Functional Level page of the wizard appears.

10) In the Forest functional level dropdown box, select Windows Server 2008 R2.

11) Click Next. A progress bar will again appear momentarily. The Additional Domain Controller Options page of the wizard appears.

12) Ensure that the DNS server option is enabled, and then click Next. A prompt will appear presenting a warning.

13) Click Yes. The prompt closes, and the Location for Database, Log Files, and SYSVOL page of the wizard appears.

14) Accept the defaults, and then click Next. The Directory Services Restore Mode Administrator Password page of the wizard appears.

15) Enter a suitable password. For this procedure, the password entered is P@ssw0rd.

Page 28: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

22

16) Click Next. The Summary page of the wizard appears.

17) Click Next. A progress prompt will appear. This prompt will remain visible for some time.

18) Enable the option, Reboot on completion. You will need to reboot anyway, after the domain is built, so you might as well as automate this step. Don’t click the Cancel button, but just let the process complete. This will take several minutes.

19) On completion, the VM will reboot. After rebooting, log back in and continue to the next section.

20) On completion, the VM will reboot. After rebooting, log back in and continue to the next section.

Disable LoopBackCheck

1) On the Windows Destop, click Start, and then click Run. The Run dialog appears.

2) In this dialog, enter regedit, and then click OK. The Registry Editor dialog appears.

3) Navigate to the following key:

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

and then select the Lsa node.

4) Right-click this node, point to New, and then point to DWORD (32-bit) Value.

5) Click DWORD (32-bit) Value. A new item will appear in the right pane.

6) Into this new item, enter DisableLoopbackCheck.

Page 29: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

23

7) Press ENTER.

8) Right-click on this new item you created, and then select Modify… The Edit DWORD (32-bit) Value dialog appears.

9) Change the Value data from 0 to 1.

10) Click OK. The dialog closes, and you are returned to Registry Editor.

11) Take a look at the new registry value you created. It should look like that below:

12) Close Registry Editor.

Enable Remote Access

1) Go to Server Manager.

2) In Server Manager, in the Server Summary section, click the link, Configure Remote Desktop. The System Properties dialog appears.

Page 30: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

24

3) Select the option, Allow connections only from computers running Remote Desktop with Network Level Authentication (from secure).

4) Click OK. A prompt appears informing you that a Remote Desktop Firewall exception will be enabled.

5) Click OK. The prompt closes, and then you are returned to the System Properties dialog.

6) Click OK again. The System Properties dialog closes.

Install Service Packs

a) Install Service Pack 1.

Perform a Windows Update

1) On the Windows Desktop, click Start, and then click Windows Update. The Windows Update dialog appears.

2) Click the link, Let me choose my settings. The Choose how Windows can install updates dialog appears.

3) On this dialog:

Page 31: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

25

• From the Important updates dropdown box, select Never check for updates (not recommended).

• Enable the option, Give me recommend updates the same way I receive important updates;

• Enable the option, Allow all users to install updates on this computer.

4) Click OK. The dialog closes, and you are returned to the Windows Update dialog.

5) On this dialog, click the link, Check for updates. Follow the prompts, and choose to install all recommended updates. This will take some time to complete and will likely include a reboot. At the end of this process, your VM operating system will be fully updated, and ready for installation of SQL Server, which you will do in the next chapter.

Page 32: Build a SharePoint Virtual Machine for Training and Development

Install and Configure Windows Server 2008 R2

26

Page 33: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

27

4 INSTALL AND CONFIGURE SQL SERVER 2008 R2

In this chapter, you will install and configure a trial instance of Microsoft SQL Server R2 Enterprise. You’ll need to have the new SQL Server 2008 DVD that you burned previously. Installing SQL Server is fairly straightforward and won’t require various complex steps as you had to perform for the Windows Server 2008 installation. Total installation time is about 30 minutes.

Run the System Configuration Checker

1) Insert the SQL Server DVD into the disk drive.

2) In Windows Explorer, navigate to the disk. The disk drive icon will have been replaced by that of the SQL Server 2008 DVD installation application.

3) Double-click on this icon. The SQL Server Installation Center dialog appears.

4) Click on the link, System Configuration Checker. This launches the Configuration Checker. You’ll see the dialog appear and a progress bar.

5) Once it completes, click on the Show details button to see the different rules that it checked.

Page 34: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SQL Server 2008 R2

28

6) Click OK. The Configuration Checker dialog closes, and you are returned to the SQL Server Installation Center dialog.

7) Select SQL Server Features to be Installed.

8) On this dialog, on the left, click Installation. The right panel changes to display the options available for this selection.

9) Click the link, New installation or add features to an existing installation. A core set of the configuration rules are checked again, and you can then see the results.

10) Click OK. The Configuration Checker panel closes, and the first page of the SQL Server 2008 R2 Setup wizard appears.

11) Click Next. The License Terms page appears.

12) Enable the option, I accept the license terms, and then click Next. The Setup Support Files page appears.

13) Click Install. This begins installation of setup support files needed for SQL Server installation. After this completes, the Rules Checker is run again, and the results are displayed. Ignore the warning regarding the domain controller.

Page 35: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

29

14) Click Next.

15) Select the option, SQL Server Feature Installation, and then click Next. The Feature Selection page appears.

16) On this page, make the selection as follows:

17) Leave the directory settings as default, and then click Next. This causes the Installation Rules to be checked. Once it completes, you can see the results displayed.

18) Click Next. The Instance Configuration page appears.

19) Leave the defaults, and then click Next. The Disk Space Requirements page appears.

20) Click Next again. The Server Configuration page appears.

Configure Service Accounts

1) This page of the wizard enables you to configure the service accounts.

Page 36: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SQL Server 2008 R2

30

2) Click the button, Use the same account for all SQL Server services. A small dialog will appear, enabling you to select an account to use.

3) From the Account Name dropdown list, select NT AUTHORITY\SYSTEM, as shown below. No need to enter a password.

4) Click OK. The dialog closes.

Configure Collations

1) Back on the Server Configuration page, select the Collation tab.

Page 37: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

31

2) On this tab, click the Customize button next to Database Engine, and then enable the options as shown below:

3) Click OK, and then click the Customize button next to Analysis Services. Enable the options as shown below:

Page 38: Build a SharePoint Virtual Machine for Training and Development

4) Clickprevi

5) Verif

6) Click

Configu

1) On thadmi

2) Now

a) C

b) C

c) L

k OK. On theiously.

fy that these

k Next. The D

ure the Da

he Account Pinistrator acc

select the FI

Check the op

Check the op

Leave all othe

e Server Con

are correct.

Database En

atabase En

Provisioningcount.

ILESTREAM

tion, Enable

tion, Enable

er settings at

nfiguration p

gine Configu

ngine

g tab, click th

M tab. On th

e FILESTREA

e FILESTRE

t their defau

In

page are liste

uration page

he Add Curr

his tab, enab

AM for Tran

EAM for file

ult values.

nstall and C

ed the collat

e appears.

rent User bu

ble the option

nsact-SQL a

I/O streami

Configure SQ

tion options

utton. This w

ns as follow

access.

ing access.

QL Server 200

selected

will add you

ws:

08 R2

32

ur

Page 39: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

33

3) Click Next. The Analysis Services Configuration page appears.

4) Click the button, Add Current User. Your current account, the Administrator account, appears on the Account Provisioning tab list.

5) Leave the Data Directories settings as default, and then click Next. The Reporting Services Configuration page appears.

Configure Reporting Services

1) On the Reporting Services Configuration page, select the option, Install, but do not configure the report server.

2) Click Next. The Error Reporting page appears.

3) Click Next again. A progress bar will appear momentarily, as installation configuration rules are applied and tested. On completion, you’ll see the results – click the Show Details button to review them.

4) Click Next. The Ready to Install page appears, summarizing the selected configuration.

Begin Installation

1) Click Install. This launches the installation, which will take approximately half an hour. On completion, the Complete page will appear, summarizing the results of the installation.

Page 40: Build a SharePoint Virtual Machine for Training and Development

2) Click

Test the

After theview the

1) On thR2, a

k Close.

e installati

e installation database ob

he Windowsnd then poin

ion

n of SQL Servbjects. You w

s Desktop, clnt to SQL Se

ver and VM will use the S

lick Start, clierver Manag

In

reboot, test SQL Server M

ick Programgement Stud

nstall and C

the installatManagemen

ms, point to Mdio.

Configure SQ

tion by tryinnt Studio to

Microsoft SQ

QL Server 200

ng to login ando this.

QL Server 20

08 R2

34

nd

008

Page 41: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

35

2) Click on this menu item. The Connect to Server prompt appears.

3) In the Server name box, enter the name of the server that you entered previously. For this procedure, the server name was spServer01.

4) Click Connect. The main interface of the Microsoft SQL Server Management Studio will appear.

Install Service Packs

• Install service packs 1 and 2.

This completes the installation and configuration of Microsoft SQL Server 2008 R2.

Page 42: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SQL Server 2008 R2

36

Page 43: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

37

5 INSTALL AND CONFIGURE SHAREPOINT SERVER 2010

You’ve done it! You’ve got all the preparatory pieces in place, and now you are ready to install the main software component: SharePoint Server 2010 itself. This will be the most complex part of the build process and will involve many steps and interactions with the other software components. Just work through each step slowly and carefully, and you’ll do fine.

To get through this chapter as easily as possible, it’s best to have an Internet connection, as this will allow prerequisite software items to be automatically downloaded and installed without manual intervention.

There are a variety of prerequisites that must be installed prior to installing SharePoint 2010. Fortunately, if you have an Internet connection to your VM, these prerequisites can be installed automatically without much attention by you. This procedure assumes that you do in fact have an Internet connection. However, if you don’t, not to worry: there are plenty of procedures available that show you how. See reference 2) for additional information on this topic. For this procedure, you will employ the SharePoint Server 2010 Prerequisite Installer.

Install SharePoint 2010 Prerequisites

1) Copy the downloaded SharePoint Server 2010 Enterprise file that you obtained at the beginning of Chapter 2. All you have to do is drag and drop it onto the VM. The file is about 560MB in size.

2) Once copied over, double-click the executable. After a few moments, the SharePoint Server 2010 launch menu appears.

3) Click the link, Install the software prerequisites. The Preparation Tool page appears.

4) Click Next. The License Terms for software products page appears.

Page 44: Build a SharePoint Virtual Machine for Training and Development

5) Enabprere

This w

6) ClickServenext s

Create U

In a prodtheir dedsince logthe servica issue. Sgoing to

The follomust be d

ble the optionequisite insta

will take abo

k Finish. Theer 2010 launcsection to cr

User Acco

duction envirdicated accougs will clearlyce causing thStill, it’s usefstart trainin

owing are thedomain acco

n, I accept thallation proc

out 5 minute

e Preparatioch menu. Th

reate the nee

ounts for S

ronment, younts. Doingy identify thhe error. Hoful to get sta

ng up on Sha

e commonlyounts:

he terms of thcess is launch

es. When it

on Tool wizahis complete

eded service

SharePoint

ou’ll definiteg so greatly she account asowever, in aarted right awarePoint.

y recommend

Insta

he License Ahed, and a p

completes, t

ard closes, anes the install accounts.

t 2010 Adm

ely want to psimplifies resssociated wi developmenway creating

ded short lis

all and Confi

Agreement(sprogress bar

the Installat

nd you are rlation of pre

ministratio

partition servsource plannith the issue nt and traing and assign

st of basic se

igure ShareP

s), and then will appear

tion Comple

returned to terequisites. M

on and Ser

vices so thatning and tro and thus yo

ning environmning account

ervice accoun

Point Server

click Next. T.

ete page app

the SharePoiMove on to t

rvices

t they are runoubleshootinou can trace ment, this ists if you are

nts. All of th

r 2010

38

The

pears.

int the

n by ng, it to

s not

hese

Page 45: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

39

sp_admin: used to perform the actual installation of the SharePoint binaries. Domain account having local administrator privileges on the Windows server and the dbcreator and securityadmin roles on the SQL Server.

sp_farm: used to run farm services and is the service account for the web application servicing the Central Administration site, used to manage the entire farm. Domain account that needs to have local administrator privileges on the Windows server during provisioning, but thereafter just normal user rights.

sp_webapp: an application pool ID used to run a web application.

sp_serviceapps: used to run various service applications. For this environment, it will be used to run all incidental services. But in a production environment, you’ll want to partition these further.

sp_search: used to run the Server Search service.

sp_content: used to run the site crawler to index content.

sp_superuser: cache account

sp_superreader: another cache account

Don’t worry about trying to remember everything. You’ll be shown how to configure them.

1) Go to Server Manager.

2) In the left tree pane, open the tree as: Server Manager > Roles > Active Directory Domain Services > Active Directory Users and Computers > alstechtips.com > Users.

3) Right-click on Users, point to New, and then point to User.

Page 46: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SharePoint Server 2010

40

4) Click Users. The New Object – User dialog appears. Enter the fields as shown:

5) Click Next. Enter password P@ssw0rd. Disable any of the options that might be checked.

6) Click Next.

7) Click Next again. The dialog closes, and you are returned to Server Manager, now listing your newly created account. Congratulations! You’ve created your first domain account.

Page 47: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

41

8) Repeat this process for each of the other accounts list above. Once you’re done, add a description to them. To do this, just double-click on the name of one of the accounts. The Properties dialog for that account will appear. For example, by double-clicking on the SharePoint Administration account, the SharePoint Administration Properties dialog appears.

9) In the Description field of this dialog, enter SharePoint Service Account. Do this for all of the other accounts you created. Once you’re completed, you might see something like the following:

Create a SQL Server Login for the SharePoint Administrator

1) Launch Microsoft SQL Server Management Studio, and then login.

2) In the Object Explorer, at left, open the Security node, then the Logins node.

3) Right-click on Logins, and then select New Login.

4) On the Login – New dialog, at right, click the Search button. The Select User or Group dialog appears.

5) Enter sp_admin.

Page 48: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SharePoint Server 2010

42

6) At right, click the Check Names button. The account name you entered is verified.

7) Click OK. The dialog closes, and you are returned to the Login – New dialog.

8) At left, in the Select a page, pane, select Server Roles.

9) Then, at right in the Server roles pane, enable dbcreator and securityadmin.

Page 49: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

43

10) Click OK. The dialog closes, and you are returned to the Management Studio window, now listing a new login under the Logins node. Note that the domain administrator account is also listed here.

11) Close SQL Server Management Studio.

Delegate Administration of the SharePoint Server

As noted previously, one of the accounts, sp_admin, must be added to the local Windows server administrators group. You will also add this account to the DNS Administrators group in the domain, so that SharePoint Administration can create DNS records for web applications in the SharePoint farm.

Open Server Manager, and then navigate to the Users node.

1) Double-click on the account, SharePoint Administration. The SharePoint Administration Properties dialog appears.

2) Select the Member Of tab.

Page 50: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SharePoint Server 2010

44

3) Click the Add button. The Select Groups dialog appears.

4) Click the Advanced button.

5) Click the button, Find Now. The Search results pane is populated with a list of all accounts and account types.

6) On this list, first select Administrators and then, holding down the CTRL key, also select DnsAdmins.

Page 51: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

45

7) Click OK. This adds both roles at the same time to the Select Groups dialog.

8) Click OK, again. The dialog closes, and you are returned to the SharePoint Administration Properties dialog, now also listing the two new roles that you just now added.

Page 52: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SharePoint Server 2010

46

9) Click OK. The dialog closes, and you are returned to Server Manager. Restart spServer01. You’ll need to do this before you can install the SharePoint 2010 binaries.

Install the SharePoint Server 2010 Binaries

1) Log in as sp_admin. You will be performing the installation as this identity.

2) Navigate to where the SharePoint 2010 executable is, and then double-click it. The launch menu will appear.

3) On the launch menu, click the link, Install SharePoint Server. The Microsoft SharePoint Server 2010 Trial dialog appears requesting a product key.

4) Enter the product trial key, VK7BD-VBKWR-6FHD9-Q3HM9-6PKMX (see reference 5).

Page 53: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

47

5) Click the button, Continue. The Software License Terms dialog appears.

6) Enable the option, I accept the terms of this agreement.

7) Click the Continue button. The Choose a file location page appears.

8) Accept the defaults, then click the button, Install Now. This launches the installation of the binaries. A progress bar will appear. Installation time is about 5 minutes.

9) After completion of installation, you’ll be prompted to run the Configuration Wizard.

Configure SharePoint Server 2010

1) Make sure that the option, Run the SharePoint Product Configuration Wizard now option is enabled, and then click Close. The dialog will close, and then the first page of the wizard will appear.

2) Click Next. A prompt appears.

3) Click Yes. The prompt closes, and the next page of the wizard is displayed, Connect to a server farm.

4) Select the option, Create a new server farm.

5) Click Next. The Specify Configuration Database Settings page appears.

6) Enter the following (or use your own domain name and password that you created earlier):

a) Database Server: spServer01.

b) Database name: SharePoint_Config

c) Username: alstechtips\sp_farm

d) Password: P@ssw0rd

7) Click Next. The Specify Farm Security Settings page appears.

8) I entered the passphrase I Love SharePoint 2010, or enter your own passphrase.

9) Click Next. The Configure SharePoint Central Administration Web Application page appears.

Page 54: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SharePoint Server 2010

48

You can go with the default port option, or specify your own. If you do specify your own, be sure to select something above 2000 just to be safe. I chose 4400. Leave the NTLM option selected.

10) Click Next. The Completing the SharePoint Products Configuration Wizard appears.

11) Review of the options, and make sure they’re what you want.

12) Click Next. This begins the configuration process. A progress bar will appear. This will last anywhere from 10 to 20 minutes.

13) Once the configuration has completed, the Configuration Successful page will appear.

14) Don’t click the Finish button just yet. You’ll do that in the next section.

Configure the Farm

1) Click Finish. The last page of the SharePoint Products Configuration Wizard closes, and an instance of your default browser is launched and navigated to the Central Administration website.

Page 55: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

49

The Help Make SharePoint Better page appears.

2) Select the option No, I don’t wish to participate, and then click OK. Your browser is then navigated to the next page, which starts the farm configuration wizard.

3) Click Start the Wizard. Your browser is then navigated to the next page.

4) On this page, set the options as follows:

a) Select the option, Create new managed account

b) Enter AlsTechTips\sp_serviceapps

c) Enter the password, P@ssw0rd

d) Leave all the Services options selected as default.

5) Click Next. You will be asked whether you want to create a new site collection.

6) Let’s create a new site collection, and configure it as follows:

7) Entered AlsTechTips, for the name of the new site

Page 56: Build a SharePoint Virtual Machine for Training and Development

Install and Configure SharePoint Server 2010

50

8) Leave the URL field default

9) Leave the Select a template at the default selection of Team Site.

10) Click OK. A busy page will be shown, while the farm configuration options you selected are implemented, and a new site collection is created. Once all of this completes, you will see the completion page of the wizard.

11) Click Close. The browser is then navigated to the home page of the farm’s Central Administration site collection.

12) Leave this browser tab open to Central Administration, and then open a new tab.

13) Point this new tab to http://spServer01. This is the intranet address of your new site collection. It will take a while for the website to be compiled and built. Once this process completes, you will see the home page of the new site you created earlier.

Page 57: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

51

6 POST-INSTALLATION TASKS

Start Additional Services

There are a couple of services that are not automatically turned on by the Configuration Wizard but are useful to the running of the farm. These include:

Claims to Windows Token Service

Microsoft SharePoint Foundation Sandboxed Code Service

When you connect to the main central administration site, you may see a red bar appearing at the top of the home page of Central Administration. Ignore these for the present. You’ll be resolving these later.

1) On the Central Administration home page, in the System Settings group of links, click the link, Manage services on server. The Services on Server: spServer01 page appears.

2) On this page, in the Service listing, look for Claims to Windows Token Service. In the Status column, you’ll see that it states Stopped. Next to that, in the Action column, you’ll see a link Start.

3) Click Start. A busy page will appear momentarily, and then the Services on Server: spServer01 page reappears, this time the Status of the service will be Started.

Page 58: Build a SharePoint Virtual Machine for Training and Development

Post-Installation Tasks

52

4) Now look for Microsoft SharePoint Foundation Sandboxed Code Service, and then start it as well. A busy page will again appear momentarily, and then the Services on Server: spServer01 page reappears.

Configure Local DNS

Now let’s configure DNS settings on your server to enable you to use fully qualified domain names to access the new site collection. In a production environment, DNS settings would be handled on the DNS server. However, for the development environment, this can easily be handled using the LMHOST file, which maps IP addresses to domain names.

While it’s called the LMHOST file, the actual name of the physical file is just HOSTS (no file ending).

1) Navigate to the folder C:\Windows\System32\drivers\etc\.

2) Open the HOSTS file using NOTEPAD.

3) Delete the entire contents of this file, and then edit the file such that you see the following contents displayed:

4) Close the file.

Page 59: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

53

5) Now let’s verify that domain names are being correctly mapped. Open a command prompt, and then enter the command:

6) Ping intranet.alstechtips.com

7) Press ENTER. You should see the responses shown below.

Configure Alternate Access Mappings

1) Now that you have manual DNS set up, it’s time to configure alternate access mappings to your SharePoint server. These enable your SharePoint server to recognize the FQDN of the website.

2) On the Central Administration page, click Application Management; and then on the Application Management page, under the Web Applications section, you’ll see the link, Configure alternate access mappings.

3) Click this link. The Alternate Access Mappings page appears.

Page 60: Build a SharePoint Virtual Machine for Training and Development

Post-Installation Tasks

54

4) Note the drop down box entitled, Alternate Access Mapping Collection. Currently this displays Show All.

5) Click it, and then select the only option that appears: Select Alternate Access Mapping Collection. A new page appears.

6) On this page, click the entry, SharePoint – 80. The new page will close, and then you are returned to the Alternate Access Mappings page. However, now, this page only displays one item – the one you selected.

7) Click Edit Public URLs. Your browser displays the Edit Public Zone URLs page.

8) Enter the URLs as shown in the next figure:

Page 61: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

55

Note that the entries for Intranet, Internet, and Extranet correspond exactly to what you entered into the HOSTS file edited earlier.

9) Click Save. Your browser is navigated back to the Alternate Access Mappings page.

Configure Internet Explorer for Automatic Windows Authentication

1) On IE, select Tools, and then select Internet Options.

2) On the General tab, in the Home page section, enter the following as the new home page address:

http://intranet.alstechtips.com

3) Click Apply.

4) Select the Security tab. Select the zone called Local intranet.

5) Click the Sites button. The Local intranet dialog appears.

6) On this dialog, click the Advanced button. Another dialog with the same name as the previous one appears.

7) Enter the following URL into the textbox labeled, Add this website to the zone:

http://*.alstechtips.com

8) Now click the Add button. You should see something like that shown in the next figure:

Page 62: Build a SharePoint Virtual Machine for Training and Development

9) Click

10) Closeopen

Note whenhavin

Configu

1) Laun

2) In the

3) Click

4) In the

5) Selec

6) Doub

7) Enter

8) Click

k Close, then

e all open ins to the home

that you’ll nn you next long to login e

ure Firefox

nch Firefox.

e address ba

k the button,

e Search (filt

t the entry, n

ble-click this

r http://intra

k OK.

n OK, and th

stances of Ine page of the

need to repeogin as the dvery time yo

x for Auto

ar, enter abo

I’ll be caref

ter box) ente

network.aut

s entry. The

anet.alstecht

hen OK again

nternet Exploe new websi

eat this for eadomain admou connect t

omatic Win

ut:config, an

ful, I promis

er NTLM. T

tomatic-ntlm

Enter a strin

tips.com.

n.

orer. Then ote without y

ach user youinistrator, yo

to the site.

ndows NT

nd then pres

se!

This will filte

m-auth.trust

ng value pro

open a new iyou having t

u configure oou’ll likely w

TLM Auth

ss ENTER.

er the list to j

ted-uris.

ompt appear

Post-I

instance. Yoto login.

on this VM. want to conf

hentication

just a few lis

rs.

Installation T

ou should se

For examplfigure IE to a

n

st items.

Tasks

56

ee it

le, avoid

Page 63: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

57

9) Close Firefox

10) Launch Firefox and connect to the website.

Configure Site Collection Administrators

Currently, you are logged in as the sp_admin account. Remember that this was only to be used for installation and configuration and not for routine use.

When you completed SharePoint Server 2010 configuration and chose the option to create a new website, it created it for you using the current identity at that time, or sp_admin. Thus, sp_admin is the only configured user for this site and is the current collection administrator.

You can’t keep using the sp_admin account, so, you’ll need to add your regular account to the list of users before you log out of spServer01.

1) Open Central Administration.

2) Click Application Management, and then, in the Site Collections group, click Change site collection administrators.

Note that in the Site Collection drop down box, http://spserver01 is already selected. If not, select it.

3) Leave the current sp_admin account (noted as SharePoint Administration) as the primary collection.

4) Enter Administrator for the Secondary site collection administrator.

Page 64: Build a SharePoint Virtual Machine for Training and Development

Post-Installation Tasks

58

5) Click the arrow icon next to it. You should see something like that below:

6) Click OK. You’re done.

This completes Post-Installation round up. Your SharePoint Server farm is up and running and ready to use for testing and development.

Page 65: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

59

7 RESOLVE INITIAL HEALTH ANALYZER ISSUES

After your new SharePoint Server has run for a while, the Health analyzer job will kick in and return a few issues. You’ll be alerted to these by the red bar appearing on the Central Administration home page. Don’t worry: these are normal and expected and will be resolved in this section.

Note: some of these issues can be safely ignored and others may not apply to your specific installation.

Let’s get started.

View Health Analyzer Issues

1) Open Central Administration. Note the red bar, indicating that Health Analyzer has discovered critical issues.

Page 66: Build a SharePoint Virtual Machine for Training and Development

Resolve Initial Health Analyzer Issues

60

2) On the red bar, locate the link, View these issues, and then click this link. You are navigated to the Review problems and solutions page. You will likely see the following issues:

• The server farm account should not be used for other services.

• The Unattended Service Account Application ID is not specified or has an invalid value.

• Databases exist on servers running SharePoint Foundation.

• Missing server side dependencies.

• Outbound e-mail has not been configured.

• Built-in accounts are used as application pool or service identities.

• Verify that the Activity Feed Timer Job is enabled.

• Validate the My Site Host and individual My Sites are on a dedicated Web application and separate URL domain.

• Drives are at risk of running out of free space.

Let’s work through these one by one.

Server farm account should not be used for other services

1) Click on the link to this issue. A popup dialog will appear. Look in the Explanation section.

Note the two services that it is calling attention to:

• SPUserCodeV4

• Web Analytics Data Processing Service

2) Close this dialog.

Page 67: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

61

3) In Central Administration, go to Security, and then click Configure service accounts. The Service Accounts page appears.

If you click on the Select one… drop down list box, you will see this:

4) Select Microsoft SharePoint Foundation Sandboxed Code Service.

Note the service account that is currently running under:

5) Change this to the sp_ServiceApps service account:

Page 68: Build a SharePoint Virtual Machine for Training and Development

Resolve Initial Health Analyzer Issues

62

6) Repeat this for the Web Analytics Data Processing Service, changing its service account also to sp_ServiceApps.

7) Click OK. The Service Accounts page closes, and you are returned to the Security page.

8) Navigate back to the Central Administration home page, and then click the View these issues link.

9) Click the server farm account should not be used for other services link. The popup dialog will appear again.

10) On this dialog, click the Reanalyze Now button.

11) Click Close.

It will take awhile for the Health Analyzer to reapply its rules and check on this issue. After a minute or two, refresh the Review problems and solutions page, and this issue will now have gone away.

Note that the elimination of this one issue will have changed the red bar to yellow.

Unattended Service Account Application ID is not specified or has an invalid value

1) In Central Administration, on the Home page, in the Application Management section, click Manage service applications.

Page 69: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

63

2) On the Service Applications page, click the Secure Store Service service application.

3) A message will appear indicating that you need to generate a new key:

4) Click the Generate New Key button in the ribbon.

5) The Generate New Key dialog will appear:

6) Enter the phrase I Love SharePoint 2010.

After a few moments, a new message will be displayed.

7) In the ribbon, click the New button.

8) The Create New Secure Store Target Application page appears. Enter the parameters as shown, in the next figure. Note down the Target Application ID that you enter. You’ll need this later.

Page 70: Build a SharePoint Virtual Machine for Training and Development

Resolve Initial Health Analyzer Issues

64

9) Click Next.

10) Leave the settings at their default, and then click Next.

11) Enter the domain administrator account for both settings, as shown:

12) From Central Administration, click Application Management.

13) In the Service Applications section, click Manage service applications.

14) Scroll down to the bottom until you can see the Visio Graphics Service listing.

15) Click this link. The Manage the Visio Graphics Service page appears.

Page 71: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

65

16) On this page, click the Global Settings link. The Visio Graphics Service Settings page appears.

17) Scroll down this page to the bottom, to the External Data section.

18) Enter the Target Application ID you noted down earlier.

19) Click OK.

20) Return to the Health Analyzer All Reports page, and then click the link, Unattended Service Account Application ID is not specified or has an invalid value. A dialog will appear.

21) On this dialog, click the Reanalyze Now button on the ribbon.

Page 72: Build a SharePoint Virtual Machine for Training and Development

Resolve Initial Health Analyzer Issues

66

22) Scroll down and then click the Close button, to return to the All Reports page.

23) Refresh the page: the issue no longer appears.

Databases exist on servers running SharePoint Foundation

This is not a significant issue, given that you are only creating a development and training instance and not a production instance of SharePoint 2010. Therefore, to resolve this issue, you’ll need to disable the rule.

1) On the Central Administration page, click Monitoring.

2) In the Health Analyzer section, click Review rule definitions. The All Rules page appears.

3) Scroll down to the Category: Performance section, and then look for the Databases exist on servers running SharePoint Foundation item.

4) Click this item.

5) In the ribbon, click the Edit Item button.

6) Look for the Enabled section. Uncheck this.

7) Scroll down to the bottom and click Save.

8) Open a command prompt window as administrator (right-click on the CMD shortcut and choose Run as Administrator).

9) Enter iisreset /noforce.

10) Return to the Health Analyzer All Reports page.

11) Click the issue, Databases exist on servers running SharePoint Foundation.

12) Click the Reanalyze Now button.

13) Close the dialog.

14) Refresh the Health Analyzer All Reports page: the issue no longer appears.

Missing server side dependencies

This is not a significant issue and is actually due to a bug. The fix, however, is simple.

Page 73: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

67

1) First, in Health Analyzer All Reports, click the link to the issue to view its description.

2) Close the dialog.

3) In Central Administration, click General Application Settings.

4) On the General Application Settings page, in the Search section, click Farm Search Administration. The Farm Search Administration page appears.

5) On this page, in the Search Service Applications listing, click Search Service Application. The Search Administration page appears.

6) Return to the Health Analyzer All Reports page.

7) Click the link to the issue to open it.

8) Click the Reanalyze Now button.

9) Close the dialog.

10) Open a command prompt as Administrator.

11) Enter IISRESET /NOFORCE.

Page 74: Build a SharePoint Virtual Machine for Training and Development

Resolve Initial Health Analyzer Issues

68

12) Refresh the Health Analyzer All Reports page. The issue has gone away.

Outbound e-mail has not been configured

This is not a serious issue and can either be ignored or the underlying rule generating this issue can be disabled. The next few steps disable this rule.

1) On Central Administration, click Monitoring.

2) In the Health Analyzer section, click Review Rule definitions.

3) Scroll down to the Configuration listing, and then click Outbound e-mail has not been configured.

4) Click the Edit button.

5) Uncheck Enabled.

6) Click the Save button.

7) Open a command prompt window as administrator (right-click on the CMD shortcut and choose Run as Administrator).

8) Enter iisreset /noforce.

9) Return to the Health Analyzer All Reports page.

10) Delete this entry. It won’t reappear.

Built-in accounts are used as application pool or service identities

tbd

Verify that the Activity Feed Timer Job is enabled

1) On Health Analyzer All Reports page, click the link to open this issue.

Note what the remedy is: enable the Activity Feed Timer Job.

2) Close this dialog.

3) On Central Administration, click Monitoring.

4) On the Monitoring page, in the Timer Jobs section, click Review job definitions.

Page 75: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

69

5) Scroll down until you see User Profile Service Application – Activity Feed Job.

6) Click this link. The Edit Timer Job page appears.

7) Accept all defaults, scroll down to the bottom, and then click the Enable button.

8) Return to the Health Analyzer All Reports page.

9) Re-open the issue dialog.

10) Click the Reanalyze Now button, and then click the Close button.

11) Refresh the Health Analyzer All Reports page. The issue no longer appears.

Validate the My Site Host and individual My Sites are on a dedicated Web application and separate URL domain

When you used the Farm Configuration Wizard, it automatically created the My Site host on the same web application as the root site collection. This is not an issue for a development site, and so this rule can be ignored and disabled.

Follow the same process as used previously for disabling a rule.

1) Once the rule has been disabled, return to the Health Analyzer All Reports page, and then delete the entry for this issue.

2) Run the IISRESET /NOFORCE command again. The issue won’t reappear.

Page 76: Build a SharePoint Virtual Machine for Training and Development

Resolve Initial Health Analyzer Issues

70

Page 77: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

71

REFERENCES

• Microsoft TechNet SharePoint 2010: Deployment for SharePoint Server 2010

• Todd Klindt's SharePoint Admin Blog: Service Account Suggestions for SharePoint 2010

• Microsoft Support: KB2460045: Description of SharePoint Server 2010 SP1

• Microsoft Support: KB976127: An update is available that provides additional features and improvements for ADO.NET Data Services in the .NET Framework 3.5 SP1 on a computer that is running Windows 7 or Windows Server 2008 R2.

• Microsoft SharePoint Server 2010 Trial

• SharePoint Adam: Reset the Farm Passphrase in SharePoint 2010

• MSDN Blogs - Rares Marinescu: Easy farm passphrase recovery

• Microsoft TechNet – SharePoint 2010: Initial deployment administrative and service accounts (SharePoint Server 2010)

• LMHOSTS File

• SharePoint Health Analyzer rules reference (SharePoint Foundation 2010)

• Unattended Service Account Application ID is not specified or value is invalid value

• Initial deployment administrative and service accounts (SharePoint Foundation 2010)

• Unattended Service Account Application ID is not specified or value is invalid value

• The Unattended Service Account Application ID is not specified or has an invalid value.

• Web Part Error on a clean SP2010 install in Document Center

Page 78: Build a SharePoint Virtual Machine for Training and Development

Build a SharePoint 2010 Virtual Machine

72

Notes