The steps are as follows:
1:yum install-y Subversion
2:svnserve–version
3:
[Root@singledb ~]# MKDIR/U02/SVN
[Root@singledb ~]# svnadmin create/u02/svn/repos2–davesvn for version library name
4: Configure these 3 files, all to configure!
After you create a version library, 3 profiles are generated in this directory:
[Root@singledb conf]# pwd
/u02/svn/davesvn/conf
[Root@singledb conf]# ls
Authz passwd svnserve.conf
Modified to:
Content modified to:
[General]
Anon-access = none
auth-access = Write
Password-db =/opt/svn/conf/pwd.conf //note path and above Consistent
Authz-db =/opt/svn/conf/authz.conf//note path
Realm = repos2 //repos2 is the version library you created
Configure account password ; VI passwd
Shanmao = Shanmaomima
configuration group and Permissions VI Authz
[groups]
# harry_and_sally = harry,sally
# harry_sally _and_joe = Harry,sally,&joe
Admin = shanmao,xiaosu,ahui,boss,ruizhong
Qianduan = Lingbin,xiaopang
Sheji = xuejiao,weiping
Houduan = haoming,ruizhong,mofa,chenchen
Mobile = Haoming
[/]
@admin = RW
[mancoo:/f ONT]
@qianduan = RW
[mancoo:/desgin]
@sheji = RW
[Mancoo:/code]
@houduan = RW
[mancoo:/mobile]
@mobile = RW
[mancoo:/doc]
*=RW
[mancoo:/business]
*=RW
[mancoo:/services]
@admin = RW
Start svn
svnserve-d-r/u02/svn
Client connection svn : Svn://ip/repos2