ubuntu 安装svn
1.安装SVN
sudo apt-get install subversion
2.创建SVN存储仓库的文件夹
sudo mkdir /home/svn
3.使用SVN命令,创建存储仓库
sudo svnadmin create /home/svn/svnRoot
*然后就会看到在svn目录里边多了一些文件和文件夹
8.修改文件authz,passwd,svnserve.conf
passwd:
[users]
# harry = harryssecret
# sally = sallyssecret
yingmm = 123456
authz:
[groups]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe
group1 =yingmm,xingxb
# [/foo/bar]
# harry = rw
# &joe = r
# * =
[/]
admin = rw
# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r
@group1 = rw
svnserve.conf:
anon-access = read
auth-access = write
password-db = passwd
authz-db = authz