Linux SVN Server version 2.0

Source: Internet
Author: User
Tags svn

1. First check if subversion is installed on the operating system

Rpm-qa Subversion


2. Install Subversion

Yum-y Install Subversion


3. Specify the data storage path for SVN

Mkdir-p/usr/local/svn/data


4. Specify the SVN profile information path

Mkdir-p/usr/local/svn/configure


5. Start the SVN service

Svnserve-d-r/usr/local/svn/data/


6. Create a Zhibo version library

Svnadmin Create/usr/local/svn/data/zhibo

Svnadmin Create/usr/local/svn/data/wangzhan


7. Go to the Zhibo repository configuration directory and back up the configuration file

cd/usr/local/svn/data/zhibo/conf/

CP Svnserve.conf/usr/local/svn/configure


8. Modify the svnserve.conf configuration file

Cd/usr/local/svn/configure

Vim svnserve.conf

Anon-access = none//Prohibit anonymous access

auth-access = write//Read permission after authentication

PASSWORD-DB =/usr/local/svn/configure/passwd//Specify Password file

AUTHZ-DB =/usr/local/svn/configure/authz//Specify Permissions Authentication file


9. Copy the passwd and Authz files to the Zhibo svnpasswd directory and modify the permissions

Cp-p Authz passwd/usr/local/svn/configure/

Cd/usr/local/svn/configure/

chmod Authz passwd


10. Create a user for the SVN repository and authorize access to the specified project repository

Vim passwd

Wang = Wang


Vim Authz

[/]

Wang = RW


11. Restart the SVN service for verification

Pkill Svnserve

Svnserve-d-r/usr/local/svn/data--config-file=/usr/local/svn/configure/svnserve.conf


This article is from a "little progress every Day" blog, make sure to keep this source http://zuoshou.blog.51cto.com/2579903/1876570

Linux SVN Server version 2.0

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.