您的位置:首页 > 运维架构 > Apache

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

2017-01-04 10:15 531 查看

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=none
auth-access=write
password-db=passwd
authz-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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  svn subversion maven apache