Install TeamCity Server on Windows
Download TeamCity Server
Go to the JetBrains website and download a convenient TeamCity Server distribution:
.exe: executable which provides the installation wizard for Windows platforms and allows installing the server as a Windows service.
.tar.gz: archive with a "portable" version.
Or, you can install it from a Docker image. All the information related to the TeamCity Server Docker images is described on Docker Hub.
.tar.gz have the following specifics:
They include a Tomcat version tested to work fine with the respective version of TeamCity. You can use an alternative Tomcat version, but other combinations are not guaranteed to work correctly.
On Windows, they provide better error reporting for some scenarios (like a missing Java installation).
It is possible to configure the installation by changing the startup script and JRE options.
They come bundled with a build agent distribution and a startup script which allows for easy TeamCity server evaluation with one agent.
They come bundled with the devPackage for the TeamCity plugin development.
Install from Executable File
To install the TeamCity server, run the executable (
.exe) file and follow the installation instructions.
The installation wizard will prompt you to install the TeamCity server and one build agent that can be run as a Windows service. If you opted to install the services, you can use the standard Windows Services app to manage the service. Otherwise, use standard scripts.
Make sure the user account specified for the service has:
the log on as service right
write permissions for the TeamCity Data Directory
write permissions for the TeamCity Home Directory (a directory where TeamCity has been installed)
all the permissions necessary to work with external systems like VCSs
By default, the Windows service is installed under the
SYSTEM account. To change it, use the Services applet (Control Panel | Administrative Tools | Services).
If you do not change the default port (
8111) during the installation, the TeamCity UI will be accessed via
http://localhost/ in a web browser running on the same machine where the server is installed. Note that port 8111 can be already occupied by other programs. In this case, you can specify another port during the installation and use
http://localhost:<port>/ address in the browser.
If you want to edit the TeamCity server's service parameters, memory settings, or system properties after the installation, refer to this article.
Install from tar.gz
It is highly recommended running the TeamCity server under a dedicated user account.
To install the TeamCity server, unpack the
TeamCity<version number>.tar.gz archive. You can use the
tar xfz TeamCity<version number>.tar.gz command under Linux * and WinZip, WinRar, or similar utility under Windows.
Make sure that JRE or JDK are installed and the
JAVA_HOME environment variable is pointing to the Java installation directory (see recommended Java versions).