This tips are valid for Windows Server 2008 R2 SP1 and Windows Server 2012.
1. Install OS and add you server to domain.
2. Make sure you have following accounts ready.
- TFS Admin - This should be a domain user account who is installing configuring and administering the TFS server. Add this user to the administrator group of your TFS server.
- TFS Service -TFS Service account. This account must have the Log on as a service permission.
- TFS Build - This account must have the Log on as a service permission.
- TFS Sharepoint Service - Service Account For SharePoint
- TFS Sql Service - Sql Service Account for TFS.
- TFS Reports - Report Reader account for TFS. This account must have allow log on locally permission.
3. Grant log on as Service and allow log on locally permissions by
- Point to Control Panel, point to Administrative Tools, and then double-click Local Security Policy.
- In the console tree, double-click Local Policies, and then click User Rights Assignment.
- In the details pane, double-click Log on as a service/Allow log on locally.
- Click Add User or Group, and then add the appropriate account to the list of accounts that possess the Log on as a service/Allow log on locally right.
4.Install Web Server IIS role (http://www.iis.net/learn/web-hosting/web-server-for-shared-hosting/installing-the-web-server-role)
5. Install SQL server 2012 and provide the service account as TFS Sql Service
- Make sure to install reporting services in native mode as well since it is much easier to do that way.
- Make sure to install as Prerequisites first. If you want to do the instillation of prerequisites in offline mode follow this post. http://blogs.technet.com/b/meamcs/archive/2012/12/26/install-and-download-sharepoint-2013-prerequisites-offline-manually.aspx
- When configuring do it as complete. Follow this post for further information.http://nakedalm.com/integrate-sharepoint-2013-with-team-foundation-server-2012/