It’s time to move forward to DataBase configuration by clicking on “Proceed” button. To keep our TeamCity inside its own “TeamCity” folder, let’s change “Data Directory location on the TeamCity server machine” from “/root/.BuildServer” to “/opt/jetbrains/TeamCity/.BuildServer”. Wait for a while (let’s give TC time to start up) and then try to load the following page should be able to see TeamCity Start page. Lock file: /opt/jetbrains/TeamCity/buildAgent/logs/ĭone, see log at /opt/jetbrains/TeamCity/buildAgent/logs/teamcity-agent.log Starting TeamCity Build Agent Launcher.Īgent home directory is /opt/jetbrains/TeamCity/buildAgent Java executable is found in '/usr/lib/jvm/java-8-oracle'. Using CLASSPATH: /opt/jetbrains/TeamCity/bin/bootstrap.jar:/opt/jetbrains/TeamCity/bin/tomcat-juli.jar Using JRE_HOME: /usr/lib/jvm/java-8-oracle Using CATALINA_TMPDIR: /opt/jetbrains/TeamCity/temp Using CATALINA_HOME: /opt/jetbrains/TeamCity You should get output similar to this one: Using CATALINA_BASE: /opt/jetbrains/TeamCity Now, let’s start TeamCity by executing a script: /opt/jetbrains/TeamCity/bin/runAll.sh start The last step for basic configuration is to create “teamcity” user: sudo useradd teamcityĪnd configure permissions for it: sudo chown -R teamcity:teamcity /opt/jetbrains/TeamCity The next step is to move our extracted folder called “TeamCity” under “/opt/jetbrains” directory: sudo mv /Downloads/TeamCity /opt/jetbrains So, let’s create it: sudo mkdir /opt & sudo mkdir /opt/jetbrains It’s highly recommended (but not required) to install TeamCity into “/opt/jetbrains/” directory. sudo wget Įxtract content from downloaded archive sudo tar -xvzf TeamCity-2017.1.2.tar.gz Navigate into the “Downloads” and pull up the latest version of TeamCity (2017.1.2 by the time I’m writing this article). If you want to just copy and paste the code from manual below, I’ll advise you to create one, by executing the following command: sudo mkdir /Downloads On the remote server, I usually have “Downloads” directory in the root folder and I use “wget” there. If you’re using ubuntu 14.04 for some reason there is a guide how to install Java 8 on ubuntu 14.04. Starting from 10s version, TeamCity requires Java 8. For complex workflows you’ll need more powerful machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |