Posted on 2010-09-26 20:13
幻海藍夢 閱讀(306)
評論(0) 編輯 收藏 所屬分類:
Linux 、
版本管理
步驟:
(1)aptitude install apache2 libapache2-dav
(2)svnadmin create /repos
(3)chmod 777 /repos -R
(4)在/etc/apache2/httpd.conf里面添加如下內容
<Location /repos>
DAV svn
SVNPath /repos
AuthType Basic
AuthName "myproject subversion repository"
AuthUserFile /etc/subversion/passwd
Require valid-user
</Location>
(5)touch /etc/subversion/passwd
(6)htpasswd /etc/subversion/passwd xyz
(7)/etc/init.d/apache2 restart
(8)測試
http://localhost/repos/
原文:http://m.tkk7.com/zhyiwww/archive/2009/07/23/288034.html