在本机建立一个简单的svn服务器

svn内置了svnserve,帮你建立一个小巧的svn服务器

1.先建立svn repository: 

  

svnadmin create /home/kent/diskE/kent-svn-repo

2.启动svnserve:

  

svnserve -d -r /home/kent/diskE/kent-svn-repo

3.客户端读:

  

svn info svn://localhost

4.修改repository权限,增强匿名用户的写权限

  

    cd /home/kent/diskE/kent-svn-repo
    vi svnserve.conf
    #在[general]设置anon-access=write
   

注:

1.svnserve服务器的端口是 3690

2.停止svnserve的办法是

killall -9 svnserve

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.