Summary: installing TeamCity 6.5 on a new server
Two weeks ago I had a friend drop down to a visit who suggested I give TeamCity a go. I have been complaining that my IT department has a build server that didn’t run Unit Tests (in fact they wanted me to setup the running of Unit Tests for them).
It took me less than a day to set it all up (most of that time spent playing around with the settings). If I had to set a new project today I guess it will take at the maximum an hour (and that assuming I can’t just copy my settings from the existing project).
In this post I will walk you through the setup process and in the next couple of posts adding a solution build and running Unit Tests.
I find it important to note that you should start from a computer that has all the applications that a production/test Server/Client needs. Moreover if you are using in your build Toolkits (or other third party tool with installations) then you should have them installed on the build server. I have decided to start from a machine that can be used as a Developer workspace meaning it has VS2010 installed but having VS installed is not a must.
Download the installation from here.
Continue with yes, read the license agreement and if you agree with it continue the installation (and this guide)
Install all the items.
I have chosen to change the installation directory since the users folder of windows is backed up on a central machine and I want TeamCity to work on only one machine. So I changed it to:
Which is inside the installation folder.
Wait until the installation is complete…
Here I have chosen to install TeamCity on port 8080 instead of 80, since I already use port 80 in my application with IIS. TeamCity will also warn you if it detects that the port is in use.
On the next screen click Save.
Since I don’t actually have a dedicated IT user I have chosen to use the SYSTEM account –> next.
Start all the services –> next.
And that’s it – all done.
When running the web site for the first time you will have to read the license agreement and if you agree with it continue on…
The second thing to do is set an administrator account.
In the next post I will show you how to add your solution and build it using TeamCity and MsBuild.