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