CentOS Install SVN

Source: Internet
Author: User

1. SVN installation (yum mode)

Yum-y Install Subversion

Svnserve--version View SVN serve version

Svnserve The default listener port is 3690

2. Create a warehouse

Mkdir-p/data/svn/testproject Warehouse Path

Svnadmin Create/data/svn/testproject Creating a warehouse

3. Configure permissions

Cd/data/svn/testproject/conf

Vim svnserve.conf

Focus on the following parameters:

anon-access = no-Anonymous access

auth-access = Write--Enables authorized users to write permissions

PASSWORD-DB = passwd--User name/password management database file, general use default value

AUTHZ-DB = Authz--access to the control file, that is, the user rights settings, such as the user can set access rights according to the path

Realm =/data/svn/testproject--authentication namespaces, general use of engineering paths

Vim passwd

The user saves the user, the password, and the "password-db" parameter in the svnserve.conf file corresponds to the following format

  

Vim Authz

The user saves the user, the password, and the "authz-db" parameter in the svnserve.conf file corresponds to the following format

3. Configure permissions

Turn on the firewall (slightly)

Start: svnserve-d-r/data/svn/

CentOS Install 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.