分享Win7 將svn加入系統服務並成功啟動的方法

來源:互聯網
上載者:User

標籤:svn   win7   

按照網上搜尋到的方法,結果一直提示:

[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




聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.