Microsoft SharePoint Foundation 2010 Installation – Part 3

This blog is a continuation from last weeks blog (Part 2). We’ll jump right in where we left off. Verify you are logged into the server that you want to install SharePoint on as the spNameInstall account. Right click the PowerShell ISE and select “Run as administrator”:

Load the SharePoint PowerShell Snap-in:

You will receive “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.” This is normal since we have not configured the farm yet.

We’ll be stepping through the same process that’s completed when you run the configuration wizard, except using PowerShell. This process is documented on TechNet.

You’ll be prompted to enter the password for the spNameFarm account:

You’ll also be prompted for a passphrase which is used to add additional SharePoint servers to your farm in the future:

It will take a few minutes for the script to complete. You’ll know it’s running by the run button being grayed out and the stop command being enabled. Do not interrupt the script.

When the script finishes, you’ll see output similar to this:

If you’re running SQL Denali CTP3, this initial configuration will fail since SharePoint 2010 (non-SP1) attempts to use a feature that is deprecated and has been removed in CTP3:
New-SPConfigurationDatabase : Could not find stored procedure ‘sp_dboption’.

If you receive the error above which is documented on MSDN, drop the database that was created, load SP1 for SharePoint Foundation 2010 before preceding any further, and then re-run the script. If you have not installed SharePoint yet, you could slipstream SP1 into the SharePoint installation media and save yourself some time and trouble.

Register the spNamePool account as a SharePoint Managed Service Account:

From Internet Information Services Manager, stop the default website and set it to listen on a port other than 80, 443, and the port that is being used by the Central Admin website.

Create a Web Application and Site Collection:

Set the appropriate DNS records. The spNameFarm account is the only account that currently has access to your new SharePoint site. Welcome to your site!

Setup a SQL backup job for the SharePoint databases. Re-Run Windows Updates on the SharePoint server. Add additional web front end servers.

µ

Leave a Reply

%d bloggers like this: