How to set-up CI environment with Jenkins + Subversion+Maven (SVN)

来源:互联网 发布:华硕主板网络唤醒设置 编辑:程序博客网 时间:2024/06/12 04:00

Set-up Subversion

  • Step 1: Install the latest version of Apache SVN
$ yum install subversion$ yum install mod_dav_svn
  • Step 2: Validate your installed SVN
$ svnserve --version
  • Step 3: Create SVN repository
$ mkdir -p svn/repos/$ svnadmin create /svn/repos/
  • Step 4: Set-up user and password
$ vi passwd
  • Step 5: Set-up authorization
$ vi authz [/]hulk=rw
  • Step 6: Set-up SVN conf file
$ vi authz [general]anon-access=noneauth-access=writepassword-db=passwdauthz-db=authz
  • Step 7: Set-up firewall config file
$ vi /etc/sysconfig/iptables

Insert the below content to open the 3690 port:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 3690 -j ACCEPT

Restart firewall

$ service iptables restart
  • Step 8: Start SVN service (deamon and root)
$ svnserve -d -r /opt/svn/repos
  • Step 9: Query SVN progress & check port
$ ps -ef|grep svn
$ netstat -ln |grep 3690
  • Step 10: Stop SVN service
$ killall svnserve
0 0
原创粉丝点击