Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository back-end (FS) modules are available:
* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.
Cyrus SASL authentication is available. 代码库创建
SVN软件安装完成后还需要建立SVN库
[iyunv@localhost modules]# mkdir -p /home/svn/svnfile
[iyunv@localhost modules]# svnadmin create /home/svn/svnfile
执行上面的命令后,自动建立svn库,查看/home/svn/svnfile 文件夹发现包含了conf, db,format,hooks, locks, README.txt等文件,说明一个SVN库已经建立。 配置代码库
进入上面生成的文件夹conf下,进行配置
[iyunv@localhost modules]# cd /home/svn/svnfile/conf 用户密码passwd配置
[iyunv@localhost password]# cd / home/svn/svnfile/conf
[iyunv@admin conf]# vi + passwd
修改passwd为以下内容:
[users]
# harry = harryssecret
# sally = sallyssecret
admin = admin 权限控制authz配置
[iyunv@admin conf]# vi + authz
目的是设置哪些用户可以访问哪些目录,向authz文件追加以下内容: