分类: 项目管理
2009-03-04 14:41:36
Single-Server TFS2008 installation on Windows Server 2008 with SQL Server 2008
Prerequisite Installation: IIS 7.0 is installed and properly configured on the server. Also I assume that SMTP Server is installed and properly configured. Ports configuration is not needed here, though it results in warnings during install process.
1.
Create accounts for installation.
Since we are log on as Administrator, we only need to add other two accounts as follows:
I. TFSSERVICE: Used as the service account by Windows services for Team Foundation
Server and the SharePoint Timer Service. Also used as the application pool
identity by the Microsoft Team Foundation Server Application Pool and can also
be used for the Windows SharePoint Services application pools.
Must have the
“Log on as a service” permission
[Security
Settings->Local Policies->User Right Assignment] and then add TFSSERVICE
to “Log on as a service” in the right pane. For optimal security, this service
account should not be an administrator on the servers that run Team Foundation
Server components.
II. TFSREPORTS: Used as the service account for data sources by SQL Server Reporting
Services.
Must have the
Allow log on locally permission
[Security Settings->Local Policies->User Right Assignment] and then add TFSREPORTS to “Allow log on locally” in the right pane. For the same reason, this account should not be an administrator on the servers that run Team Foundation Server components.
2.
Install SQL Server 2008
Please ignore warnings of Widows Firewall.
I. On the “Feature Selection” page, first click “Select All” button and then uncheck Integration Services.
II. Named instance to “” in case it duplicates to an existing one.
III. On the “Server Configuration”
page, use same account for all SQL Server services, here we use TFSSERVICE and do not forget to change all start types of
these services to “Automatic”.
IV. On the
“Database Engine Configuration” page, use mixed mode and specify password for
sa. Add current user to SQL Server administrators. Do the same action on
“Analysis Service Configuration” page.
V. On the
“Reporting Service Configuration” page, select “Install but do not configure
the server”.
VI. Check to make sure that SQL Server works as expected.
3.
Install Windows SharePoint Services
3.0 SP1
I. First we should download it from Microsoft Download Center:
II. Run and select “Web Front End” as Server Type.
III. On the “Connect to a server farm” page of configure wizard, click “No, I want to create a new server farm”, and then click Next.
IV. On the “Specify Configuration Database Settings” page, perform the following steps:
In Database name, type: .\ MSSQLSERVER2008.
Under Specify Database Access Account, in Username, type the same service account as for Team Foundation Server (referred to as TFSSERVICE).
In Password, type the password for the service account.
V. Open a Command Prompt window (Run as administrator) and then type:
where:
WSSServerName is the name of the server that is running Windows SharePoint Services. Port is the port number for the default Web site. Domain\UserName is the domain and user name of the site owner or administrator. Description is a brief description of the default Web site.
If you want to add other person to be owner of this site, type the following command at the command prompt, where Domain\User is the domain and user name of the account.
stsadm.exe -o siteowner -url -secondarylogin Domain\User
VI. If necessary, restart any services.
4.
Install Team Foundation Server 2008
SP1
At first, I assume that you have TFS 2008 with SP1 Slipstreamed. For how to slipstream, please visit: .
I. On the “Team Foundation Server Service Account” page, click Specify an account. Type the Windows domain user account you created for the Team Foundation Server Service account (for example, Domain\TFSSERVICE) in the Account Name box. To specify a workgroup account, you must use the format ComputerName\AccountName.
Then type the password in the Password box.
II. On the “Reporting Services Data Source Account” page, click “Use Team Foundation Server service account”.
III. On the “Windows SharePoint Services” page, specify WSS website and WSS administration website. If you forget which port is set, please go to IIS manager and expand Sites. Click “SharePoint Central Administration v3”, you will see Browse :xxxx(http) in the right Actions pane.
IV. Specify alert settings and then click “Install”.
Wait, wait, wait…
Test the new TFS:
1. Create a new team project… OK!
2. Create a new solution and then add it to source control… OK!
3. New Build Definition… OK!
4. Queue New Build... failed!
TF215085: An error occurred while connecting to agent \
Please take a look at the following link:
5. Queue New Build again… OK!