Saturday, 14 June 2014

 1.   Login to your R2 server as Administrator. You can as well perform this step under the Farm Administrator account, which should be also local administrator on the server. Start Power Shell as Administrator and execute following statements:
Import-Module ServerManager

Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45 -Source D:\Sources\sxs

Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCP-Activation,AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer -Source D:\Sources\sxs
Note: D:\ is your Windows installation media.

2. Download all prerequisites from the Internet and save it on local disk of the server, e.g. C:\SP2013Prereq:

3. Install all prerequisites directly from the prerequisites folder in the download sequence, EXCEPT the last two (AppFabric and CU 1 for AppFabric).

4. AppFabric requires special configuration, therefore installing it usual way is not be enough for SharePoint. Install it using following statement from command line:
.\WindowsServerAppFabricSetup_x64.exe /i CacheClient","CachingService","CacheAdmin /gac
Note: The syntax with quotas is correct, it separates commas, not the components.

5. Install AppFabric1.1-RTM-KB2671763-x64-ENU
6. Restart your server