[Author]: Kwu
Based on Windows SVN installation and configuration
1. Install Subversion
Download Setup-subversion-1.8.13.msi
2, install tortoisesvn-1.8.11.26392-x64-svn-1.8.13, this is SVN's auxiliary management software
Download tortoisesvn-1.8.11.26392-x64-svn-1.8.13
3, the creation of warehouses, the use of tortoisesvn more convenient
4. Create a Windows service and execute the following command on the cmd command line:
SC create Svnserve binpath= "D:/softwares/subversion/bin/svnserve- R d:/svn/root--service"
1) Specify the path to the Svnserve, BinPath is the location where you want to set the service command.
2) Specify the storage path of the SVN repository,-R sets the root directory location of the SVN service.
--service means to start this command in the form of a Windows service, which adds a command named Svnserve to the Windows service
3) Remove commands from Windows services
SC Create is used to add a service to the Windows service, and SC Delete removes a service from the Windows service.
5, SVN's permissions configuration
1) svnserve.conf File
Anon-access = None
auth-access = Write
Password-db = passwd
Authz-db = Authz
Description
auth-access = Write #通过验证的用户可以读和写
Auno-access = read #匿名登陆下可以只读文件, i.e. cannot commit to server after file modification
Password-db =password #用户保存文件的名称
Authz-db =authz #权限管理文件 This is very important, if we want to the entire project to assign permissions to the file, we have to comment out the line file before, no matter even if we do more in the permission configuration file configuration is not valid. Then we assign the permissions under the Authz file
2) passwd file, set user name and password
[Users]
admin=123456
Kwu = Abcd1234
3) Authz file, set the user access permissions to the directory, RW "Read and write"
[/]
Admin=rw
[/code]
Kwu=rw
6,TortoiseSVN Client access right click Tortoisesvn-->repo-browser
Based on Windows SVN installation and configuration