Preface, recently want to install an SVN version control program, Baidu a bit, the article on the Internet is not very close to my meaning, go a lot of detours, hereby, write an article, to help people who need, write bad, more contains.
Download the TORTOISESVN installation package, which contains the Chinese language pack.
Http://cy6.mqego.com/tortoisesvn_x64.zip
2. Installation process not much to say, the next step, the main is to put a few commands mounted on. Then restart the server.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/89/3F/wKiom1gNtvLw8FW8AAC5JbTRK7w707.png "title=" 4.png " alt= "Wkiom1gntvlw8fw8aac5jbtrk7w707.png"/>
3. Create an SVN directory on the D drive. (You like to build anywhere, it's said to be best in English.)
4. Open "TortoiseSVN" in the Start menu--"setting"
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/89/3C/wKioL1gNsmiRMs6SAAAsKYfwubw954.png "title=" 2.png " alt= "Wkiol1gnsmirms6saaaskyfwubw954.png"/>650) this.width=650; src= http://s3.51cto.com/wyfs02/M00/89/3C/ Wkiol1gnspnavak6aacghmvff9q610.png "title=" 3.png "alt=" Wkiol1gnspnavak6aacghmvff9q610.png "/>
5. Right-click the SVN directory and tap "TortoiseSVN"--"Create repository Here"
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/89/3C/wKioL1gNsX-wDNgIAAA55RruAfI861.png "title=" 1.png " alt= "Wkiol1gnsx-wdngiaaa55rruafi861.png"/>
6. Go to the Conf folder in the SVN directory:
1. Open the svnserve.conf with Notepad to separate
# anon-access = Read modified to: anon-access = Read #千万注意开头没有空格, anonymous user readable
# auth-access = Write modified to: auth-access = Write #千万注意开头没有空格, verify user writable
# password-db = passwd modified to: password-db = passwd #千万注意开头没有空格
# authz-db = Authz modified to: authz-db = Authz #千万注意开头没有空格
2. Open passwd with Notepad, create username: admin or other
Under the Users row, add directly:
[Users]
admin = admin #用户名 = password. The user name must start with a space, and a space on both sides of the = sign.
3. Open Authz with Notepad, modify permissions, add:
[/] #代表svn的根目录 d:/svn/
admin = RW #admin have read and write permissions, R for Reading, W for write, add new user rights, need to be added in the passwd file first.
7. Start TortoiseSVN:
Open cmd command line, execute: svnserve-d-R d:/svn #这时命令行窗口是一直开着的, at first I thought it was a problem .
8. Shut down the Windows R2 Firewall, or set port 3690 to allow inbound/outbound.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/89/3F/wKiom1gNuIKhpP9SAABL-SQ-Tuw458.png "title=" 5.png " alt= "Wkiom1gnuikhpp9saabl-sq-tuw458.png"/>
9.WIN7 Client connections:
Install the TORTOISESVN on the client, and then connect using the TORTOISESVN Repository Browser connection.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/89/46/wKioL1gOqIny3j72AABjyvR840I872.png "title=" 1.png " alt= "Wkiol1goqiny3j72aabjyvr840i872.png"/>
Enter the user name and password that you just set in step 6th:
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/89/48/wKiom1gOqM_Tu7n3AACYI2kpmu0781.png "title=" 1.png " alt= "Wkiom1goqm_tu7n3aacyi2kpmu0781.png"/>
Login success:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/89/46/wKioL1gOqS2xDQ_LAAFBB20CFPc698.png "title=" 1.png " alt= "Wkiol1goqs2xdq_laafbb20cfpc698.png"/>
Windows 2008R2 installing TORTOISESVN software