SVN服務器部署
<Alvin-zeng:孤獨0-1>
1、安裝包
#: yum -y install subversion mod_dav_svn mod_perl httpd
2、配置
#: mkdir -p /svn/repos
#:svnadmin create /svn/repos/test
#: htpasswd -c /svn/.htpasswd test1
#: htpasswd /svn/.htpasswd test2
#: vim /svn/auth (這個文件名自己任意)
[groups]
# harryharry_and_sally = harry,sally
[test:/]
test1=r
*=rw
#:vim /etc/httpd/conf.d/subversion.conf
<Location /svn>
DAV svn
SVNParentPath /svn/repos
AuthzSVNAccessFile /svn/svnaccess
AuthType Basic
AuthName "SVN Repositorys"
AuthUserFile /svn/.htpasswd
Require valid-user
</Location>
#:chown apache.apache -R /svn
#:chmod 755 -R /svn
#:/etc/init.d/httpd restart
#:svnserve -d -r /svn