Description:
Subversion for Windows (svn for short) is a version management software that has emerged in recent years and is the successor of cvs. Currently, the vast majority of open source software uses svn as code version management software.
Subversion Win32 build. These binaries are built using Visual C++ 6.0 to work on all flavors of Windows from NT4 to Win7/2008 including server variants (not all tested). For Apache 2.2 modules. Language bindings, not tested
Configure svnserver as a windows service project
Windows NT (including Windows XP, Windows 2000, Windows 2003 Server) itself contains a tool for installing services called "Service Control", which is sc.exe. For example, my Subversion is installed in "D:Subversion" and the version library is in "D:svnroot", and I want the corresponding Subversion service to be named svnservice. The command to install this svn service can be written like this: Run cmd and type the following command sc create svnservice binpath= "D:Subversionbinsvnserve.exe --service -r D:svnroot" displayname= "SVNService" depend= Tcpip In addition, when starting svnserve in the past, the "-d" option was used, which is the daemon mode. It cannot be used here, which will cause the service to fail to start. Likewise, the "-i" and "-t" options cannot be used. After executing this command in the command line window, the service has not started yet. You can continue to run "net start svnservice" to start the service, and then use "net stop svnservice" to stop the service. There are two other points that need to be handled carefully. First of all, if the path includes spaces, be sure to use "" to process the """ sign. For example, in the above example, if svnserve.exe is in "c:program filessubversion", the command should be written as "binpath= ""c:program filessubversionbinsvnserve.exe"" (content in ""). The entire command is as follows, and the red part is the changed part: sc create svnservice binpath= ""E:program filesSubversionbinsvnserve.exe" --service -r E:svn" displayname= "SVNService" depend= Tcpip Secondly, sc also has requirements for the format of options. For example, "depend= Tcpip" cannot be written as "depend = Tcpip" or "depend=Tcpip", that is, there must be no spaces before "=", and there must be spaces after it.
After the service is successfully established, you can right-click My Computer-->Manage and find the svnservice service we created in Services. Right-click and select Properties to set it to run automatically, so that the service can be automatically run every time the server computer is turned on, which facilitates management operations.




















Useful
Useful
Useful