ubuntu安裝svn
1.安裝SVN www.2cto.com
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