阅读量:0
1、安装SVN
yum -y install subversion
2、创建版本库目录
mkdir -p /home/data/svn
3、创建版本库
svnadmin create /home/data/svn/jngzc
4、配置svnserve.conf
vi /home/data/svn/jngzc/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
5、配置passwd
vi /home/data/svn/jngzc/conf/passwd
root = rdfadf222@#d
zhangsan = zgdfsdf632#hh
6、配置authz
vi /home/data/svn/jngzc/conf/authz
[groups]
admin = root
develop = zhangsan
[/]
@admin = rw
* =
[/hello]
@develop = rw
* = r
7、启动SVN服务
svnserve -d -r /home/data/svn/ --listen-port=3690
8、客户端连接
svn://127.0.0.1/jngzc