分享Win7 将svn加入系统服务并成功启动的方法

来源:互联网 发布:ps淘宝美工修图视频 编辑:程序博客网 时间:2024/06/04 22:17

按照网上搜索到的方法,结果一直提示:

[SC] StartService 失败 1053:服务没有及时响应启动或控制请求。


版本信息

D:\Program Files (x86)\Subversion\bin>svnserve --versionsvnserve,版本 1.8.9 (r1591380)   编译于 May  7 2014,11:00:25 在 x86-microsoft-windowsCopyright (C) 2014 The Apache Software Foundation.This software consists of contributions made by many people;see the NOTICE file for more information.Subversion is open source software, see http://subversion.apache.org/下列版本库后端(FS) 模块可用:* fs_fs : 模块与文本文件(FSFS)版本库一起工作。* fs_base : 模块只能操作BDB版本库。Cyrus SASL 认证可用。


不断的搜索,却发现每一条帖子都是那样写,但是那样写根本就是错误的!最后自己测试出来真正的启动写法(by default7#zbphp.com)。

正确命令

sc stop svnservesc delete svnservesc create svnserve binPath= "\"D:/Program Files (x86)/Subversion/bin/svnserve.exe\" --service -r e:\\SVN" DisplayName= "SVN Service" depend= tcpip start= auto




0 0
原创粉丝点击