2011年8月4日 星期四

subversion

1. # yum install mod_dav_svn subversion

2. # cd /etc/httpd/conf.d/
# vim subversion.conf

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /repos>
DAV svn
SVNPath /var/www/svn/repos
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</Location>

3. htpasswd -cm /etc/svn-auth-conf yourusername
New password:
Re-type new password:
Adding password for user yourusername

reference:
http://wiki.centos.org/HowTos/Subversion

沒有留言:

張貼留言