[SVN] Linux under the SVN server build

Source: Internet
Author: User

1. Download SVN (Subversion)

Yum Install Subversion

2. See the SVN location (it doesn't matter if you don't see it)

3. Create the SVN repository directory

Svnadmin Create/home/svnrepos

Several files are generated when the creation is complete

4. Enter the Conf directory (the SVN repository configuration file)

Authz file is the permission control file passwd is the account password file svnserve.conf SVN service profile (4-1) Set SVN user, password vi passwd Add user and password in [users] block, format: Account number = password, such as user1=1234 (4-2) Set Permissions VI Authz


[Groups]
# harry_and_sally = harry,sally
# Harry_sally_and_joe = Harry,sally,&joe
Mine=admin,user1,user2

Add the following code at the end:

@mine =RW

This means that the repository's root directory has read and write permissions, and W has Read permission only. (4-3) Modify svnserve.conf file VI svnserve.conf Open a few comments below: anon-access = none# anonymous no permissions auth-access = Write #授权用户可写password-db = passwd #使用哪个文件作为账号文件authz-db = Authz #使用哪个文件作为权限文件 5. Start SVN repository svnserve-d-r/home/svnrepos done!

[SVN] Linux under the SVN server build

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.