This has changed a little for Windows Server 2012 R2 RTM, so make sure that you also read my follow-up post before spending time on the below.
I was all excited when I found out that you could try out Windows Server 2012 R2 Preview for a free 30 day trial on Windows Azure. So I proceeded to instantiate a virtual machine and also to attempt to install SharePoint 2013 Foundation. It didn’t go so well.
The main problem is that you can’t install the SharePoint 2013 Prerequisites using the standard install wizard, since it doesn’t recognize Windows Server 2012 R2 Preview as a valid supported OS. It displays an error: “There was an error during installation. This tool does not support the current operating system”:
I did finally get it to work, but it was not trivial at all. First of all, you have to install the prerequisites semi-manually. Then, you need to make sure that permissions are set properly on certain files and directories so that the SharePoint Configuration Wizard can successfully complete. But dear friends, I am here to walk you through the process step by step.
I. INSTALL PREREQUISITES MANUALLY
A. INSTALL WINDOWS ROLES/FEATURES
First, make sure that you have installed the following roles and features in Windows 2012 Server R2 Preview:
- Application Server
- Web Server (IIS)
- EDIT: IIS 6 Management Console (h/t Darma)
- ASP.NET 4.5
- Windows Identity Foundation 3.5
If you can do this on your own, go ahead and do it, and then skip to the next section. Otherwise, here’s the step by step:
1) If it’s not already up (it starts by default in 2012), bring up the server manager, Dashboard view. It should look like this:
2) Click on “Add roles and features”.
3) On the “Before you begin” page, click “Next”.
4) Select “Role based or feature based installation” and click “Next”.
5) If it isn’t already selected, select “Select a server from the server pool”, and the server that you are currently working on. Then click “Next”.
6) On the “Select server roles” page, check “Application Server”, ”Web Server (IIS)”, and (EDIT:) “IIS 6 Management Console” (under Web Server (IIS)->Management Tools->IIS 6 Management Compatibility->IIS 6 Management Console. h/t Darma). NOTE: When you check “Web Server (IIS)” or “IIS 6 Management Console”, another dialog will pop up, asking “Add features that are required for <feature name>?” Click on the “Add Features” button here. This will return you to the “Select Server Roles” page. After adding all 3 roles, click “Next”.
7) On the “Select features” page, expand “.NET Framework 4.5 Features” group by clicking on it. In here, check “ASP.NET 4.5″.
8) On the same page, check “Windows Identity Foundation 3.5″. Click “Next”.
9) On the “Application Server” page, click “Next”.
10) On the “Select role services” page, check “Web Server (IIS) Support” and click “Next”.
11) When the “Add features that are required for Web Server (IIS) Support?” dialog pops up, click on “Add Features”.
12) Click “Next” again to go to the next page.
13) From the “Web Server Role” page, click “Next”.
14) From “Select role services”, click “Next”.
15) On the “Confirm installation selections” page, I suggest that you check “Restart the destination server automatically if required”. (You’re going to need to reboot eventually anyway.)
16) Click “Install”.
17) Wait for feature installation to complete. When it does, you can click “close”. If the server doesn’t restart automatically, reboot it.
Summary and Prerequisites
In this article I will guide you through my Installation of SharePoint 2013. This installation consisted of a Single Server with using SQL Server 2012 as the database server.
The following accounts created in Active Directory (AD) for this installation. For more information on the accounts needed for SharePoint 2013, please visit: http://technet.microsoft.com/en-us/library/cc263445.aspx
- Service-spadmin – this account will be used to login to Central Administration and install SharePoint. This account was made a local administrator on the SharePoint server and was given SECURITYADMIN and DBCREATOR roles in SQL Server.
- Service-spfarm – this is the farm account we will use when we create the farm and SharePoint_Config database
- Service-spservices – this is an account we will use to create and configure the SharePoint services
Max degree of parallelism
Ensure the Max degree of parallelism is set to 1. For additional information about max degree of parallelism see, Configure the max degree of parallism Server Configuration option
Install SharePoint 2013 Prerequisites
This installation was installed using service-spadmin account which was made a local administrator on the SharePoint server and was given SECURITYADMIN and DBCREATOR roles in SQL Server.
Launch the Installation and Select “Install software prerequisites”
Accept the License Terms and Press Next
Prerequisites will now install
Your system will need to restart after you press Finish. When you reboot and login you may find that the wizard will run again. If this is the case just let the wizard finish and press Finish again.
SharePoint 2013 Installation
Press Install SharePoint Server
Enter your Product Key and press Continue
Accept the License Terms and Press Continue
For this installation I will be selecting Complete. Stand-alone will install SQL Server Express and we do not want that. For File Location the defaults were left.
Press Install Now
Select “Run the SharePoint Products Configuration Wizard Now”
SharePoint 2013 Configuration Wizard
Select “Create a new server farm”
Enter the Database server name
Enter the Farm account. In this case I am using pintolab\service-spfarm and the password
Enter the passphrase, Press Next
Enter the port number that Central Administration will use, Press Next
Review your selections, Press Next
The wizard will configure the farm
Press Finish. When you press finish Central Administration will open in Internet Explore
Farm Configuration Wizard
When you open Central Administration for the first time, which should launch after you click Finish you will be prompted to complete the farm wizard. You will be prompted to start the Configuration Wizard.
Press Start the Wizard
Select create a new managed account. In this case I am using pintolab\service-spservices and enter the password.
Select the Services you want to run on your farm
The wizard will configure the farm
I always skip the Creation of the Site Collection because I delete the Web Application that the wizard creates.
I would understand this better if they let you pick your components for the Web Application but they do not.
You will be redirected to the Central Administration Home Page. I have noticed on some Virtual Machines that you will get an error and you may need to refresh the page. Make sure you have enough resources
(memory and cpu), if you get an error.
At this point I usually go and delete the Web Application created by the wizard and then I create my own.