The Subversion server supports Windows and Linux.

Source: Internet
Author: User
In Linux, run the following command to start the service:

Svnserve-d-r/svnroot

-D indicates -- daemon, that is, the command execution window is closed and the Service continues to exist. -R indicates -- root, that is, the root directory of the specified database.

In Windows, you can use the same command, but the service disappears after the CMD window is closed. The solution to this problem was to use SVN Windows Service wrapper to package it as a service before version 1.4. After svn1.4, it can be directly supported to start on the server. The method is to use the service controltool that comes with Windows XP and 2000, and the execution file is SC .exe. Enter the following command in the CMD window:

SC create svnservice binpath = "D:/program files/subversion/bin/svnserve.exe -- service-R D:/mysvn" displayname = "svnservice" depend = TCPIP start = auto

Binpath specifies the svnserve path and command. Note that the parameters are -- service, not -- daemon.-D,-I,-T, and other parameters cannot be used. Start = auto indicates that the service is automatically started. Note: there must be no space on the left of the equal sign, but a space on the right.

After execution, the system returns

[SC] createservice success

Indicates that the service is successfully created.

Then execute

Net start svnservice

Start the service. System return

The svnservice is starting.
The svnservice service has been started successfully.

Run

Net stop svnservice

Stop the service. The system returns:

The svnservice service is stopping.
The svnservice service has been stopped successfully.

Run

SC Delete svnservice

Delete a service. You must delete the service before creating the same service.

Source http://blog.csdn.net/ablo_zhou/archive/2007/07/10/1684453.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.