CentOS 6.5 System builds SVN service

Source: Internet
Author: User

CentOS 6.5 System Setup SVN Service

    1. View system kernel and number of bits

[Email protected] ~]# cat/etc/redhat-release

CentOS Release 6.5 (Final)

[Email protected] ~]# uname-a

Linux vm2.6.32-431.el6.x86_64 #1 SMP Fri Nov 03:15:09 UTC x86_64 x86_64 x86_64gnu/linux

    1. installation Svn

Yum-y Install Subversion

    1. View SVN package is installed

Rpm-aqsubversion

Subversion-1.6.11-15.el6_7.x86_64

    1. Configuration and startup SVN Service

Establish SVN version Coogan directory (svndata) and Password permissions directory (svnpasswd)

Mkdir-p/application/svndata

mkdir-p/application/svnpasswd

    1. start The SVN service process

Svnserve-d-r/application/svndata/

    1. build The SVN repository

Svnadmin Create/application/svndata/sadoc

    1. modifying The svnserver.conf configuration file

Backup configuration file

Cp-f Svnserve.confsvnserve.confbak

[Email protected] conf]# egrep "\-access|\-db=" svnserve.conf

# anon-access = Read

# auth-access = Write

# password-db = passwd

# authz-db = Authz

Modify

VI svnserve.conf

Anon-access = none #12 line

auth-access = Write #13 line

Password-db =/application/svnpasswd/passwd #20 line

authz-db =/application/svnpasswd/authz #27 line

    1. Modify Authz ,passwd configuration file

CP Authz passwd/application/svnpasswd/

Enter /application/svnpasswd

chmod 700 *

    1. Set Account password

Vi passwd

in the [Users] Add user and password in block format: Account number = passwords, such as Dan=dan

    1. . Set Permissions

VI Authz

Add the following code at the end:

[sadoc:/]

Dan=rw

W=r

It means the repository root directory Dan have read and write access to it, W only Read permissions.

    1. Restart the SVN service

Svnserve-d-R svnserve-d-r/application/svndate

    1. Install the SVN client

Process omitted ....

    1. 13. test

Create a new test folder, and under that folder, right-click to select SVN Checkout as ( to install TortoiseSVN beforehand ) :

650) this.width=650; "width=" 221 "height=" 342 "src="/e/u261/themes/default/images/spacer.gif "alt=" Linux (CentOS) build SVN server-little wood-Green Tomato Paradise "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "/>

Fill in SVN address, such as:

650) this.width=650, "width=" 467 "height=" "src=,"/e/u261/themes/default/images/spacer.gif, "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>

Enter a password, such as:

650) this.width=650; "Width=" 349 "height=" "" Src= "/e/u261/themes/default/images/spacer.gif" style= "Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>

Login success:

650) this.width=650; "Width=" 679 "height=" 298 "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>

This is the SVN service setup.

This article is from the "technical operation and Maintenance" blog, please make sure to keep this source http://xf214.blog.51cto.com/2014275/1694944

CentOS 6.5 System builds SVN service

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.