Simple setup of SVN server

Source: Internet
Author: User

First, the environment:

①centos-6.5 ip:192.168.2.215

②window Server R2 ip:192.168.2.207


Second, installation

Use Yum Online Installation

yum install-y subversion

Verifying the installation version

Svnserve--version

Create SVN Version Library

mkdir/uu2/svn ---Create svn directory

svnadmin create/uu2/svn/davesvn ----DAVESVN The name of the repository

Third, the configuration SVN

After you create a repository, three files are generated in the directory

cd/uu2/svn/davesvn/conf

ls

authz passwd svnserve.conf *svnserve.conf SVN service configuration file

passwd storing user password files

Authz Permissions Profile

au THz:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/79/63/wKiom1aPhPLS2fnVAABNcUVzKHE317.png "title=" Untitled picture. png "alt=" Wkiom1aphpls2fnvaabncuvzkhe317.png "/>

* Where Admin=dave defines the admin group, there are Dave users, can be separated by multiple commas

                                             ,         &N Bsp                          ,         &NB Sp            [davesvn:/]

RW Read and write R reading note To add @

passwd:

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/79/61/wKioL1aPhSywUtfFAAAq2OptvLc826.png "title=" Untitled picture 1.png "alt=" Wkiol1aphsywutffaaaq2optvlc826.png "/>

                                                                                                                             * format user name = password

SVN serve.conf

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/79/63/wKiom1aPhQ3zGlYpAABOmJdwIXo871.png "title=" Untitled picture 2.png "alt=" Wkiom1aphq3zglypaabomjdwixo871.png "/>

                                                                                                 &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP, < Span style= "FONT-FAMILY:CALIBRI;" lang= "en-us" xml:lang= "en-us" >*anon-access = none

                                                                                                              auth -access =write login user writable

                                             ,         &N Bsp                          ,         &NB Sp              password-db

                                             ,         &N Bsp                          ,         &NB Sp              authz -db = Authz points to the permissions profile under the current directory

Rea LM =/uu2/svn/davesvn point to SVN warehouse address

Start SVN Service

svnserve-d-r/uu2/svn *-D indicates background run

                                                                                                           -r

Check to see if the SVN service is started

ps aux | grep svn

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/79/63/wKiom1aPhR7gdFnzAAAqqKiB0No675.png "title=" Untitled picture 3.png "alt=" Wkiom1aphr7gdfnzaaaqqkib0no675.png "/>

Stop SVN service

killall svnserve Kill the Process

Client Install TortoiseSVN to project directory right click Svncheckout

Enter the SVN server's IP address and repository name

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/79/63/wKiom1aPhSqxB_CsAAB40h7b0Nw498.png "title=" Untitled picture 4.png "alt=" Wkiom1aphsqxb_csaab40h7b0nw498.png "/>

Continue OK enter the username and password set in passwd


Simple setup of SVN server

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.