linux搭建svn服务器

yum install subversion

mkdir /svn
svnadmin create /svn/project
vi /svn/project/conf/svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = /svn/project/conf/passwd
authz-db = /svn/project/conf/authz
realm = My First Repository
 
 vi /svn/project/conf/passwd
[users]
# harry = harryssecret
# sally = sallyssecret
itouchtv=itouchtv
test1=test1
 
vi /svn/project/conf/authz
[groups]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe

admin = itouchtv
user = test1
 
[/]
@admin = rw
* =
[project]
@admin = rw
* =
 
svnserve -d --listen-port 3690 -r /svn/
 
本地使用tortoise svn工具进行连接,myeclipse可以下载svn插件进行管理。
 

 

 


 
 
posted @ 2016-08-04 18:45  Zhong433  阅读(203)  评论(0编辑  收藏  举报