安装:
yum install subversion
创建SVN项目目录:
svnadmin /home/svn/
配置项目:
1.vi /home/svn/conf/svnserve.conf
anon-access=read #匿名可读
auth-access=write #验证用户可读写
password-db=passwd #指向验证用户名密码的数据文件 passwd
auth-db=authz #指向验证用户的权限配置文件 authz
2.vi /home/svn/conf/passwd
[users]
user1 = user1_pass
user2 = user2_pass
3.vi /home/svn/conf/authz
[groups]
users =user1,user2
[/]
@users = rw
启动svn服务:
svnserve -d -r /home/svn
阅读(743) | 评论(0) | 转发(0) |