Linux下安装TeamCity简单教程
2017-02-20 19:00:57
Linux
这篇小文章是为了帮助更多新手上路,关于Linux下安装TeamCity简单教程,其实安装这个TeamCity很简单,但在网上很少能找到相关的教程。以下是我个人的操作方法,大牛们请勿喷!如果有更好的方法,也请大家帮着修改
本文下载的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 |
再通过查看配置文件得知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" /> |
其中8111即为端口号
开放了即可用ip+端口访问