Linux (CentOS) build svn

Source: Internet
Author: User
Tags svn

1. Yum Install Subversion

2. Enter RPM-QL subversion to view the installation location

Enter SVN--help to see how SVN is used

3. Create SVN repository directory mkdir-p/var/svn/svnrepos 4, create repository Svnadmin Create/var/svn/svnrepos 5, Enter the Conf directory (the SVN repository profile) Authz file is the permission control file passwd is the account password file svnserve.conf SVN service profile 6, set account password VI passwd Add user and password in [users] block, format: Account number = Password, such as Dan=dan 7, set permissions VI Authz to add the following code at the end: [/]dan=rww=r means that the repository's root directory Dan has read and write permissions, and W only reads permissions. 8, modify svnserve.conf file VI svnserve.conf Open the following several comments: (note that the beginning of the line does not leave spaces) anon-access = read #匿名用户可读auth-access = write # Authorized user Writable password-db = passwd #使用哪个文件作为账号文件authz-db = Authz #使用哪个文件作为权限文件realm =/var/svn/svnrepos # Certified space name, Repository directory 9, start SVN version Library svnserve-d-r/var/svn/svnrepos

Linux (CentOS) build svn

Related Article

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.