Linux build svn (Centos)

Source: Internet
Author: User

1. Download and install SVN:

Yum Install Subversion

2. Check the installation path, indicating the installation is successful.

RPM-QL Subversion

3. Create SVN directory.

Mkdir-p/var/svn/svnrepos

4. Create a repository.

Svnadmin Create/var/svn/svnrepos

5, the Conf directory of three files:

Authz: Permission control; passwd: account password; Svnserve.conf:SVN service profile

(1) Set account password:

VI/var/svn/svnrepos/conf/passwd

    Add a line inside: Account = password, example: chenming=chenming

(2) Set permissions:

VI/var/svn/svnrepos/conf/authz

Add two lines at the end:

[/]

Chenming=rw

Indicates that there is read and write access to the SVN root directory chenming. Specific more detailed configuration can be Baidu SVN permissions settings.

(3) Configuration svnserve.conf:

VI/var/svn/svnrepos/conf/svnserve.conf

Added at the end:

anon-access = Read #匿名用户可读auth-access = Write #授权用户可写password-db = passwd #使用哪个文件作为账号文件authz -db ==/var/svn/svnrepos # Certified space name, repository directory

6. Start SVN

Svnserve-d-R/var/svn/svnrepos

Linux build svn (Centos)

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.