Follow the steps below to install Team City 10.0.2 on Debian/Ubuntu with Nginx as the proxy for port 80.
Requirements:
- curl
- configure utf-8 locale of your choice (recommended)
Install Team City:
# will install on port 8111
curl -L https://gist.github.com/ashwoods/c7759c903d3991818b53306d4c01ca6e/raw/teamcity-install.sh | bash
Configure Postgres 9.4:
See postgres-9-4.md below
Update the database settings:
sudo nano /srv/.BuildServer/config/database.properties
Install Nginx:
#will proxy port 80 to team city on 8111
sudo curl -L https://gist.github.com/ashwoods/c7759c903d3991818b53306d4c01ca6e/raw/nginx.sh | bash
Start it up:
sudo /etc/init.d/nginx start
sudo /etc/init.d/teamcity start
Commands:
#start team city
sudo /etc/init.d/teamcity start
#stop team city
sudo /etc/init.d/teamcity stop
#star nginx
sudo /etc/init.d/nginx start
#stop nginx
sudo /etc/init.d/nginx stop
#reload nginx
sudo /etc/init.d/nginx reload
#test team city on port 8111
curl http://localhost:8111
#test team city on port 80
curl http://localhost:80
@ashwoods any reason why you use the old version of TeamCity? the version 10.0.2 has been released about 4 years ago :/