This tutorial introduces the Windows startup automatically start SVN service, mainly to explain a few issues that need attention, through the study of this article, I believe you will master the Windows boot automatically start SVN service, let us learn together. First of all Understand what is SVN service?
svn (subversion) is a version management tool that has emerged in recent years and is the successor to cvs. Currently, most open source software uses svn as code version management software. There are two ways to run svn servers: standalone servers and apache. There are pros and cons to each of the two methods, and the user chooses them.
These are all understood, then step into the topic, what are the things to pay attention to when Windows starts the SVN service automatically?
Create the autoRunSVN.bat file, the content is: sc create MySVNServer binpath= "\\"C:\\Program FilesSubversion\\svnserve\\svnserve\\" --service -r H:\\homerepos" displayname= "SVNService" depend= Tcpip start= auto pause
Note:
(1) sc is the service configuration program that comes with Windows. MySVNServer is the name of the service and it seems to be useless.
(2) The parameter binPath indicates the installation path of the svnserve executable file. Since the path ""Program Files" has spaces, the entire path needs to be enclosed in double quotation marks. The double quotes themselves are special characters that need to be transferred, so the two double quotes before and after the path need to be written as \\" .
(3)--service parameter means running as windows service, --r indicates the location of svn repository, service parameter and r parameter are both part of binPath, so together with the path of svnserve.exe It is enclosed in a pair of double quotes, and the pair of double quotes does not need to be escaped.
(4) displayname indicates the name displayed in the windows service list, depend =Tcpip indicates that the svnserve service requires tcpip service, and start=auto indicates that it runs automatically after booting. After installing the service, svnserve will not run automatically until the next boot.
(5) There is no space in front of the equal sign of binPath, there is a space after the equal sign. displayname depend start is also the same as the front of the service ---, not -, and the front of r is -
(6 To uninstall the svn service, execute sc delete svnserve.
(7) From “sc” to “auto” is in the same command sc, must be written on the same line. After the creation is successful, you can type service.msc to view the system service, find the SVNService item, view the properties of the service, and use the interface provided by Windows to operate the SVNService service.
You can also use the command line to start and stop services.
Starting the service: C:\\>net start svnservice The SVNService service is starting. The SVNService service has started successfully.
Stopping the service: C:\\>net stop svnservice The SVNService service is stopping. The SVNService service has stopped successfully.
Delete the created service C:\\>sc delete svn svnservice
SVN is a secure virtual network system that distributes the overall information security functions of the system in different subsystems. So, understand the content of this tutorial can be combined with the characteristics of SVN, etc. I hope you can better grasp this knowledge.
In addition to the quality of the hard disk itself and the cause of aging, the bad sectors of the ha
In the operation of WinXP system, you often encounter broadband connection error, e
Recently, some netizens asked Xiaobian, what should I do when I play the Hearthston
WinXP users on the Print Screen key function, most of them just use it to quickly capture the curren
Let the various security warnings under the xp file disappear all the way
WinXP system setting screen saver password method
Detailed hard disk seven major faults Repair fault completely manual
Pure XP system prohibits the method of booting the hard disk
Open WinXP Task Manager two ways
How to solve the problem of WinXP pure version when the new hardware wizard pops up
How to install the system for the netbook-U disk boot installation system
The system's task manager could not display the username
WinXP computer hard disk partition table lost solution
Easily hide the icon in the lower right corner of the WinXP system desktop
Wonderful space bar Call Win7 Boot Manager
Killing the original PC version of the plot third pass how to play
How to disable Win7's disc burning function?
Win10 People Application How to Sort Contacts by Last Name
Introducing how to install and use Daemon Tools
CentOS configuration disk quota
How to solve WIN7 below IE8 no response to force step
Win10 build 10120 system Edge screenshot exposure modern sense of full
Win10 official version mail application 0x80070032 error solution