1 Software preparation:
Setup-Subversion-1.7.8
TortoiseSVN-1.7.11.23600-win32-svn-1.7.8
2 Install:
Installation personal needs to set the installation path.
3 Create a library root directory and create a repository
The root path of the repository: D:\svn\repository
build a repository
![](http://www.2cto.com/uploadfile/2012/1224/20121224013626844.png)
The repository of myrepository will be generated under the path of D:\svn\repository
![](http://www.2cto.com/uploadfile/2012/1224/20121224013626183.png)
If you do not need authentication login, the following configuration can be ignored
4 Modify the configuration file of the repository: svnserve.conf, remove the # in front, and no space in front of it
# password-db = passwd
# authz-db = authz
# password-db = passwd
# authz-db = authz
5 Modify the repository user configuration file: passwd
www.2cto.com
www.2cto.com
![](http://www.2cto.com/uploadfile/2012/1224/20121224013627481.png)
test = test (username before, password after)
6 Modify the repository permission configuration file: authz
![](http://www.2cto.com/uploadfile/2012/1224/20121224013627216.png)
7 Start the svnservice service
![](http://www.2cto.com/uploadfile/2012/1224/20121224013627265.png)
8 Add svnservice to system services
Start the cmd command with super administrator privileges and run sc create svn binpath= "svnserve.exe --service -rd:\svn\repository" displayname= "SVN Server" depend= Tcpip start= auto. Add the service to System Services.
![](http://www.2cto.com/uploadfile/2012/1224/20121224013628295.png)