Linux下安装TeamCity简单教程

(编辑:jimmy 日期: 2024/11/18 浏览:2)

本文下载的TeamCity路径为/usr/local/src/

# cd /usr/local/src/TeamCity
# ./bin/teamcity-server.sh start

显示如下:
Using CATALINA_BASE: /usr/local/src/TeamCity
Using CATALINA_HOME: /usr/local/src/TeamCity
Using CATALINA_TMPDIR: /usr/local/src/TeamCity/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/local/src/TeamCity/bin/bootstrap.jar:/usr/local/src/TeamCity/bin/tomcat-juli.jar
Tomcat started.

# ps aux | grep tomcat
# ps aux | grep teamcity

Linux下安装TeamCity简单教程,查看tomcat 和 teamcity 是否已成功启动即可。
再通过查看配置文件得知teamcity的端口号

#vim /usr/local/src/TeamCity/conf/server.xml
    <Connector port="8111" protocol="org.apache.coyote.http11.Http11NioProtocol"
              connectionTimeout="60000"
              redirectPort="8543"
              useBodyEncodingForURI="true"
              socket.txBufSize="64000"
              socket.rxBufSize="64000"
              tcpNoDelay="1"
        />

本版本为TeamCity 9.0.2 (build 32195)
其中8111即为端口号
开放了即可用ip+端口访问