Installs and configures a TeamCity server for 'production purposes' with a:
- Database (PostgreSQL)
- Git VCS support
Based on a pre-existing TeamCity server cookbook.
Tested on Ubuntu 12.04 x86_64.
Note manual steps are required to configure the TeamCity server that depend on the TeamCity version you choose to install. Should you need them, logs can be found in /opt/TeamCity/logs.
- Install default recipe
- Open the server homepage (http://configured-address:configured-port)
- Proceed with TeamCity initialization
- Install default recipe
- Open the server homepage (http://configured-address:configured-port)
- Proceed with TeamCity initialization but do not accept license agreement
- Restart the TeamCity server
sudo stop teamcity-server
# Wait until stopped
sudo start teamcity-server
- Reopen the server homepage
- Follow instructions to re-create the database
default["teamcity-server"]["version"] = "8.1.4"
default["teamcity-server"]["address"] = "0.0.0.0"
default["teamcity-server"]["port"] = 8111
default["teamcity-server"]["postgresql"]["version"] = "9.2"
default["teamcity-server"]["postgresql"]["driver_version"] = "9.2-1002"
default["teamcity-server"]["postgresql"]["locale"] = "en_AU.UTF-8"
default["teamcity-server"]["git"]["version"] = "1.8.3"
- default: Installs Oracle Java, PostgreSQL, Git and the TeamCity server. Configures the TeamCity server and an Upstart service (teamcity-server).
Author:: Matthew Ueckerman
Organisation:: MYOB