Successfully build SVN under Linux

Source: Internet
Author: User

The steps are as follows:

1:yum install-y Subversion

2:svnserve–version

3:

[Email protected] ~]# MKDIR/U02/SVN

[[email protected] ~]# svnadmin CREATE/U02/SVN/REPOS2–DAVESVN for repository name

4: Configure all of the 3 files to configure!

Once the repository is created, 3 configuration files are generated in this directory:

[Email protected] conf]# pwd

/u02/svn/davesvn/conf

[[email protected] 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 the path is consistent with the above
AUTHZ-DB =/opt/svn/conf/authz.conf//Note path
Realm = REPOS2//Repos2 is the repository you created

Configure account Password VI passwd

Shanmao = Shanmaomima

Configuring groups 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:/font]
@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

Successfully build SVN under Linux

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.