In Part 1 of my TFS 2010 Beta 2 + MOSS 2007 Single Server Installation walkthrough I described all TFS 2010 prerequisites and presented the necessary steps for a proper MOSS 2007 installation so that it can interoperate with TFS. In this second part I will present how to perform the actual TFS 2010 installation, which is much easier as you will see.
TFS 2010 Installation
To install TFS 2010:
1. Launch the setup and click Next.
2. In the license terms screen, select I have read and accept the license terms and click Next.
3. In the features to install screen select only Team Foundation Server and Build Service on the left side. You don’t need the Extensions for SharePoint Products and Technologies as you already installed MOSS 2007 in this server. Team Foundation Server Proxy is not needed either because that applies for remote access scenarios. Click Install and wait for the installation to finish.
4. In the final screen make sure the Launch Team Foundation Server Configuration Tool checkbox is checked and click Finish.
The TFS Configuration Tool will now start.
TFS 2010 Configuration
TFS 2010 configuration is a separate process from the main installation. This gives you the great benefit of being able to reconfigure your TFS as many times as you want without having to reinstall the software.
To configure TFS 2010:
1. On the Team Foundation Server Configuration screen select Advanced on the left side and click Start Wizard.
2. On the Team Foundation Server Advanced Configuration Wizard welcome screen click Next.
3. On the Database screen enter the name of your SQL Server Instance and click Next.
4. On the Account screen choose Use a system account and select NT AUTHORITYNETSORK SERVICE. This is my personal option for the simplest configuration scenario but you may want to specify some other account here. Select NTLM for the authentication method and click Next.
5. On the Application Tier screen select Create a new site and accept the default values. This is the site to which your users will connect from their Visual Studio client computers. Click Next.
6. On the Reporting screen check the Configure Reporting for use with Team Foundation Server checkbox and click Next.
7. On the Reporting Services screen enter the name of your Reporting Services Instance and select the Report Server and Report Manager URLs. Then click Next.
8. On the Analysis Services screen enter the name of your Analysis Services instance and click Next.
9. On the Report Reader Account enter the credentials for your TFSREPORTS account. If you’re following this walkthrough from Part 1 (where you can find the requirements for this account) the account would be <domain>tfsreports. Click Ne
10. On the SharePoint screen check the Configure SharePoint Products for use with Team Foundation Server checkbox and click Next.
11. On the SharePoint Settings screen select Use an existing server farm for SharePoint Products and accept the defaults for the Site URL and Administration URL, which should match the MOSS 2007 installation performed on Part 1. Click Test for both URLs and click Next after both tests pass.
12. On the Project Collection screen check the Create a new team project collection checkbox, leave the default value for the collection name (DefaultCollection) and click Next.
13. On the Review screen click Next.
14. On the Readiness Checks screen wait until all checks pass and click Configure.
15. On the Configure screen wait until all configurations finish and click Finish.
16. On the Complete screen click Close.
Associating the Enterprise Application Definition
When you use MOSS 2007 with TFS 2010 you need to associate the enterprise application definition you created in SharePoint with your TFS configuration.
To associate the enterprise application definition:
1. Open the Team Foundation Server Administration Console from Start Menu –> Microsoft Team Foundation Server 2010 Beta 2 on your server.
2. Select Extensions for SharePoint Products on the left side and on the right side select the SharePoint application you created for TFS and click Modify Access.
3. On the Access for Team Foundation Server dialog enter the name of your enterprise application definition you created in SharePoint (we did this in Part 1) and click OK.
Team Foundation Build Configuration
This is an optional step, but you should really consider configuring your build server right away if you pretend to do any serious software development. This is pretty easy anyway, so why not!
To configure Team Foundation Build:
1. Open the Team Foundation Server Administration Console from Start Menu –> Microsoft Team Foundation Server 2010 Beta 2 on your server. Click on Team Foundation Build Configuration on the left side and then click on Configure Installed Features on the right side.
2. On the Team Foundation Server Configuration screen click Start Wizard.
3. On the Team Foundation Build Service Configuration wizard welcome screen click Next.
4. On the Project Collection screen click Browse… to choose the team project collection you will associate with this build configuration.
5. On the Connect to Team Project Collection dialog click Servers… to select your Team Foundation Server.
6. On the Add/Remove Team Foundation Server dialog click Add.. to add your Team Foundation Server to the list.
7. On the Add Team Foundation Server dialog enter the name of your server (your Team Foundation Server) in the top most text box and leave the defaults for the rest. Then click OK then Close and finally Connect in the previous dialogs.
8. Back in the Project Collection screen you have now selected your Team Project Collection. Click Next.
9. On the Build Services screen select Use the default setting and select 1 (recommended) for the number of build agents. This is appropriate as this is a single server.
10. On the Settings screen select NT AUTHORITYNETWORK SERVICE for the Team Foundation Build Service account (again, my personal choice to simplify things) and accept the default port (9191). Then click Next.
11. On the Review screen click Next.
12. On the Readiness Checks screen wait until all checks pass and click Configure.
13. On the Configure screen wait until all configurations are done and click Next.
14. On the Complete screen click Close and then click Close again in the previous screen.
15. Your build server is now ready.
Yep, your new TFS 2010 installation is ready and you should be able to connect to TFS from your Visual Studio client and start creating Team Projects. I will probably start there in my next post so stay tuned!