centos配置安装svn服务。

  1. 安装svn
yum install -y subversion
  1. 创建svn 版本库
svnadmin create /opt/svn/resource
  1. 配置svn
cd /opt/svn/resource/conf

3.1 配置passwd

vi passwd

[users]
lyj = 111111

3.2 配置authz

vi authz
            
[groups]
team = lyj
[resource:/]
@team = rw

3.3 配置svnserve.conf

vi svnserve.conf

[general]  
anon-access = none  
auth-access = write  
password-db = passwd  
authz-db = authz 
  1. 客户端导入项目
svn import svn://gophper.com/resource/gophper -m "gophper start"
  1. 项目导出
svn co svn://gophper.com/resource/gophper
  1. 启动
svnserve -d -r /opt/svn/
  1. 问题描述

问题:svn 查看资源历史记录失败 ,并提示”Item is not readable”

解决:在svnserve.conf 文件中,设置anon-access = none就可以了