Build SVN server using CentOS

Source: Internet
Author: User

Build SVN server using CentOS
The installation procedure is as follows: 1. Run yum install subversion2 and input rpm-ql subversion to check the installation location. For example, we know that svn has generated several binary files under the bin directory. Enter svn -- help to view how to use svn, as shown in. 3. create the svn version library directory mkdir-p/var/svn/svnrepos4, and create the version library svnadmin create/var/svn/svnrepos. After this command is executed, run the command in/var/svn/ generate the following files under the svnrepos directory 5. Enter the conf directory (the svn version library configuration file) the authz file is the permission control file. passwd is the account password file svnserve. conf SVN service configuration file 6. Set the account password vi passwd to add the user and password in the [users] block. Format: account = password, for example, dan = dan7, set permission vi authz, and add the following code at the end: [/] dan = rww = r indicates that dan, the root directory of the version Library, has read and write permissions on it, w only has read permission. 8. Modify svnserve. conf file vi svnserve. conf opens the following comments: anon-access = read # anonymous user-readable auth-access = write # authorized user-writable password-db = passwd # Which file is used as the account file authz-db = authz # Which file is used permission file realm =/var/svn/svnrepos # Name of the authentication space, directory where the version library is located 9. Start the svn version library svnserve-d-r/var/svn/svnrepos
10. Test and create a new test folder on windows. Right-click the folder and select SVN checkout (to install TortoiseSVN in advance): Enter the SVN address, for example, enter the password, for example:

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.