Posted on 2010-09-26 20:13
幻海蓝梦 阅读(305)
评论(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://www.blogjava.net/zhyiwww/archive/2009/07/23/288034.html