小雨's profilebiggates难得更新的网页BlogListsNetwork Tools Help

Blog


    12/17/2007

    将svnserve架设的Subversion服务器加入Windows服务中

    由于没有适合Apache 2.2.6的Subversion版本,一直使用svnserve.exe作为Subversion服务器。使用的时候都要先开启svnserve -d -r "路径" 这个批处理文件,而且一直有一个DOS窗口开着,很烦。

    今天查了一下svnserve的参数,发现一个 --service 模式。进行资料查询以后,成功将其加入Windows的服务之中。

    具体方法:使用命令行输入以下命令:

    sc create svnserve binpath= "\"F:\Program Files\Subversion\bin\svnserve.exe\" --service -r 路径" displayname= "Subversion" depend= tcpip start= auto

    该命令将在Windows服务中增加一条名为"Subversion"的服务。手动将其启动(或重启之后也将启动),即可正常使用。

    此后,svnserve将一直处于启动的状态。

     

    详细内容,可以参考http://svn.collab.net/repos/svn/trunk/notes/windows-service.txt

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://biggates.spaces.live.com/blog/cns!715707C35A631274!642.trak
    Weblogs that reference this entry
    • None