[size=x-large]1. Create SVN server[/size]
[size=x-large]2. Make SVN server accessible via http[/size]
File: httpd.conf
[size=x-large]3. Security Management[/size]
Create svn-auth-file file
svn-authz-file file
svnadmin create path
svn import project file:///path
[size=x-large]2. Make SVN server accessible via http[/size]
File: httpd.conf
LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so
LoadModule autoindex_module libexec/apache2/mod_autoindex.so
<Location /repos>
DAV svn
#SVNPath /Users/ouyang/repository123
SVNParentPath /Users/ouyang
AuthzSVNAccessFile /etc/apache2/svn-authz-file
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/apache2/svn-auth-file
Require valid-user
</Location>
[size=x-large]3. Security Management[/size]
Create svn-auth-file file
$ htpasswd -cm /etc/apache2/svn-auth-file zhouyumiao
$ htpasswd -m /etc/apache2/svn-auth-file youwenwu
svn-authz-file file
[/]
*=r
[repository123:/]
zhouyumiao=rw
youwenwu=rw