도록태가 뭔가요
cookis

Recent Comment

2006.12.28 14:32 softwares/quick reference

cd /usr/ports/www/apache22;
make install clean;
/usr/local/sbin/apachectl start

cd /usr/ports/devel/subversion;
make install WITH_MOD_DAV_SVN=yes WITHOUT_BDB=yes

svnadmin create --fs-type fsfs /home2/svn/repository

vi /usr/local/etc/apache22/httpd.conf

<Location /svn/repository>
 DAV svn
 SVNPath /home2/svn/repository
 SVNPathAuthz on
 AuthType Basic
 AuthName "Subversion Repository"
 AuthUserFile /etc/svn_passwd
 AuthzSVNAccessFile /etc/svn_accessfile
 Require valid-user
</Location>
:wq!

htpasswd -c /etc/svn_passwd userid
htpasswd /etc/svn_passwd userid2

vi /etc/svn_accessfile
[groups]
admin = cookis
developers = userid
@graphics = userid2

[repository:/]
@developers = r
@graphics =
@admin = rw
:wq!

/usr/local/sbin/apachectl restart

http://www.pyrasis.com/main/Subversion-HOWTO

posted by cookis

댓글을 달아 주세요