Skip to content

Instantly share code, notes, and snippets.

View tolache's full-sized avatar

Anatoly Cherenkov tolache

View GitHub Profile
@tolache
tolache / install-teamcity-linux.md
Last active May 12, 2026 08:37
How to install TeamCity (Amazon Linux 2 / Ubuntu example)

How to install TeamCity (Amazon Linux 2023 / Ubuntu example)

Constants

They will be used in the installation process. Change them if you need to.

TC_VERSION="2026.1"
LINUX_USERNAME="$USER" # TeamCity service will start on behalf of the current user
LINUX_USERGROUP=$LINUX_USERNAME
TEAMCITY_HOME="/opt/teamcity" # directory where you want to install TeamCity server
AGENT_HOME="$TEAMCITY_HOME/buildAgent" # [optional] agent directory (if you want to run a build agent on the same machine - do NOT do this in production)