Successful SVN server tutorial under Linux

Source: Internet
Author: User
Tags svn

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.