The instructions below are a brief guide to building a development/test SharePoint 2010 standalone environment. The basic steps are:
- Build a Windows Server 2008 R2 server
- Install a standalone instance of SharePoint 2010
- Copy over and restore the live content, profile, social and sync databases
- Install and apply any customization and web parts.
Install Windows Server 2008 R2 SP1. If you run Windows Update, don’t install .NET Framework 4 as it’s incompatible with SharePoint 2010.
Run splash.hta from the SharePoint installation source and install prerequisites
Continue to run and reboot until all prerequisites are installed
Install SharePoint server, enter product key, choose standalone installation type
Run the SharePoint Products Configuration Wizard. This will default web application. From Central Administration -> Application Management -> Manage web applications, create an empty web application for My Sites.
Open Central Administration -> Application Management -> Change site collection administrators -> Select the primary and secondary site administrators
Open Central Administration -> Security -> Manage the farm administrators group. Add the required user accounts to farm administrators
Backup the live content database, My Site database and the profile, social and sync databases using SQL Server Management Studio. To determine the live content and My Site database names open Central Administration -> Application Management -> Manage content databases. Select the correct Web Application and the database name will be displayed. Clicking the database name takes you to a screen with the SQL server name. To determine live profile, social and sync database names, open Central Administration -> Application Management -> Manage service applications. Highlight the “User Profile Sync” line and select Properties from the ribbon. The popup shows the database server and database names. Copy the backups to a folder on the development server.
Delete the content database for the SharePoint – 80 web application. Open Central Administration -> Application Management -> Manage Content Databases. Click on the database name, scroll to the bottom of the next page, tick “Remove content database” and click OK.
Delete the content database for the My Site web application. Open Central Administration -> Application Management -> Manage Content Databases. Click on the database name, scroll to the bottom of the next page, tick “Remove content database” and click OK
Delete the “User Profile Synchronization” service application. Open Central Administration -> Application Management -> Manage service applications. Highlight the “User Profile Synchronization” line and select Delete. Tick the box to “Delete data associated with the Service Applications”.
The SQL Server in my live environment is running SQL Server 2008 R2 SP1, so I upgraded the SQL Express 2008 instance installed by SharePoint to SQL Server 2008 R2 Express. http://www.microsoft.com/download/en/details.aspx?id=23650 . Next I installed SQL Server 2008 R2 SP1.
Open SSMSE, in “Server name:” enter “localhost\sharepoint” and click Connect. Restore the live database backups to the local SQL instance.
Attach the restored content and My Site databases to SharePoint using PowerShell. Open the SharePoint 2010 Management Shell and type: Mount-SPContentDatabase -Name <DatabaseName> -DatabaseServer<ServerName> -WebApplication <URL>
Apply any customizations and install web parts
Configure the Farm Account. Open Central Administration -> Security -> Configure service accounts. Click “Register new managed account” and enter the farm account information. Select “Farm Account” from the list and select your newly registered service account from the list.
Create a new “User Profile Synchronization” service application that points to the restored databases. Open Central Administration -> Application Management -> Manage service applications. Click New -> User Profile Service Application from the ribbon. Enter a name, an application pool and for the profile, synchronization and social databases enter the name of the restored databases. Populate the My Site information, then click Create.
Run a full crawl of the environment. Open Central Administration -> Application Management -> Manage service applications. Click on “Search Service Application”. From the left hand menu click on “Content Sources”, hover over “Local SharePoint sites” and select Edit from the dropdown list. Scroll to the bottom of the screen and tick “Start full crawl of this content source” and click Ok.
Like this:
Like Loading...