Teamcity Installation-Configuration

Source: Internet
Author: User
Tags jboss

Tar xzf teamcity-9.0.4.tar.gz



Software Preparation

System: Centos 6.4 64-bit

Java:jdk1.7.0_25

Database: Optional (continuous integration deployment is not necessary to customize the database yourself)

Teamcity:teamcity-9.0.4.tar.gz

Installation configuration

1) Decompression software


Tar xzf teamcity-9.0.4.tar.gz

2) configuration teamcity



#添加启动JAVA_OPTSvim $TEAMCITY _home/bin/catalina.sh99 Line java_opts= "-xms4096m-xmx4096m  -xx:permsize=1024m-xx: maxnewsize=512m-xx:maxpermsize=1024m "#更改启动端口添加中文显示vim $TEAMCITY _home/conf/server.xml71 line port=" 8111 "Change to Port=" 80 "# According to your needs     uriencoding= "UTF-8" # # #log4j等自行定义
3) Start teamcity-installation



# # #根据提示创建日志文件touch: Cannot touch '/jboss/teamcity/logs/catalina.out ': No such file or Directorymkdir $TEAMCITY _home/ Logs
4) Configuration Teamcity


(1) Download teamcity Plugin * * The most important step or you will go a lot of detours

(2) Upload plugin after download

(3) Restart Teamcity: attached script

#!/bin/bash#for Linux teamctiy#auto:lonnyliu#email:[email protected]teamcity_home=${teamcity_home:-"/jboss/ TeamCity "}java_home=${java_home:-"/jboss/jdk1.7.0_25 "}start () {echo" Start TeamCity "$TEAMCITY _home/bin/  startup.shteamcity_pid=${teamcity_pid:-"' PS aux | grep java | grep TEAMCITY | awk ' {print $} '"}if [!-n "$TEAMCITY _pid" ];thenecho "Start TeamCity Fail" Elseecho "Start TeamCity successful" fi}stop () {echo "Stop TeamCity" $TEAMCITY _home/bin/s hutdown.sh teamcity_pid=${teamcity_pid:-"' PS aux | grep java | grep TEAMCITY | awk ' {print $} '"}if [!-n "$TEAMCITY _pid "];thenecho" Stop TeamCity Successful "elsekill-9 $TEAMCITY _pidecho" Stop TeamCity Fail Run Kill "fi}case $ instart) Start ;;; stop) stop;;; restart) stop;sleep 10start;;; *) echo "usage:$0 (Start|stop|restart)" Exit 1esac



(4) Configuring the project Deployment



Teamcity Installation-Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.