Book Image

Learning Continuous Integration with TeamCity

Book Image

Learning Continuous Integration with TeamCity

Overview of this book

Table of Contents (19 chapters)
Learning Continuous Integration with TeamCity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installation on Linux


The TeamCity installation package (Teamcity-<version number>.tar.gz) can be downloaded from the download page of http://www.jetbrains.com/teamcity/download/.

TeamCity needs JRE or JDK Version 1.6+ to be installed. It is ideal to have the JDK instead of the agent.

Note

The installation package is bundled with the Tomcat 7 servlet container. This is the recommended way to install TeamCity on Linux, unless you want to absolutely use your own installation of Tomcat or a different J2EE servlet container.

We will be using Ubuntu 12.04 for the following steps. It should be straightforward to adapt it to the distribution of your choice.

Running the server and the default agent

The steps involved in installing a server and agent on a Linux system are as follows:

  1. The downloaded installation package can be unpacked from the command line using the tar command:

    tar -xvzf TeamCity-8.0.4.tar.gz -C /opt
    

    The archive is extracted to /opt (resulting in /opt/TeamCity) using the preceding...