zhyiwww
用平实的笔,记录编程路上的点点滴滴………
posts - 536,comments - 394,trackbacks - 0
步骤:
(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/




|----------------------------------------------------------------------------------------|
                           版权声明  版权所有 @zhyiwww
            引用请注明来源 http://www.blogjava.net/zhyiwww   
|----------------------------------------------------------------------------------------|
posted on 2009-07-23 15:16 zhyiwww 阅读(666) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: