http://www.subversion.org.cn/svnbook/1.4/index.html
TortoiseSVN1.5本地下载
http://www.subversion.org.cn/?action-viewnews-itemid-64
转自 http://www.svn8.com/SVNSY/20080228/168.html
让SVN作为windows系统服务自动运行
2008-02-28 22:30:46 来源: 作者: 【
大 中 小】
评论:0 条 点击:
<script src="/plus/count.php?aid=168&amp;mid=&amp;view=yes"></script>
138
我们提供以下的几种方法
方法一:
SVNService(将svn作为windows服务运行的工具)
SVN Service Wrapper for Windows
This is my Win32 Service wrapper for SVN. Source is included, and its in the public domain. No need to copyright this stuff.
Usage instructions:
SVNService -? to display this list
SVNService -install <svnserve parameters> to install the service
SVNService -setup <svnserve parameters> to change command line parameters for svnserve
SVNService -remove to remove the service
SVNService -debug to run as a console app for debugging
将svnservice.exe放在subversion的bin目录下
Example:
比如,你的所有项目都在e:\svnrepo下,你可以如下
安装时用 SVNService -install -d -r e:\svnrepo
更改时用 SVNService -setup -d -r e:\otherplace\svnrepo
如果访问其中的一个项目e:\svnrepo\project1,可以指定路径
svn://localhost/project1 (注:作为url时用/)
第一次安装完后要到服务中手动启动它,
或者到服务中将它设为自动启动,让每次机器启动时自动启动这个服务。
方法二:
Subversion 从1.4版本开始,可以以windows系统服务的形式在开机时自动运行。但Subversion安装程序还不能把自己安装成windows服务,需要我们自己进行手动安装,方法如下: 打开一个DOS命令窗口,执行如下命令:
sc create svnserve binPath= "\"C:\Program Files\Subversion\bin\svnserve.exe\" --service --root e:\svn" displayname= "Subversion Repository" depend= Tcpip start= auto
其中,sc是windows自带的服务配置程序,参数binPath表示svnserve可执行文件的安装路径,由于路径中的"Program Files"带有空格,因此整个路径需要用双引号引起来。而双引号本身是个特殊字符,需要进行转移,因此在路径前后的两个双引号都需要写成\"
--service参数表示以windows服务的形式运行,--root指明svn repository的位置,service参数与root参数都作为binPath的一部分,因此与svnserve.exe的路径一起被包含在一对双引号当中,而这对双引号不需要进行转义。
displayname表示在windows服务列表中显示的名字, depend =Tcpip 表示svnserve服务的运行需要tcpip服务,start=auto表示开机后自动运行。
安装服务后,svnserve要等下次开机时才会自动运行。
若要卸载svn服务,则执行 sc delete svnserve 即可。
分享到:
相关推荐
Subversion-1.6.5 svn的windows服务器端
Subversion1.5.1发布- Subversion中文站SVN_TortoiseSVN_教程_文档_培训
SVN SubVersion 是新一代的版本控制工具,不仅可以管理程序源代码,而且也可用于文档或其他相关资料的管理svn服务器: svn-1.4.6-setup.exe SVNService.exe
NULL 博文链接:https://ljm1227134894.iteye.com/blog/1743578
使用Subversion进行版本控制针对 Subversion 1.4(根据r2866编译) 参照网页版 http://svndoc.iusesvn.com/svnbook/1.4/制作而成。 目录 前言 序言 读者 怎样阅读本书 本书约定 排版习惯 图标 本书的结构 本书是...
subversion+apache+svn服务器配置图解
用于搭建 windows 本地svn服务器 配套文章地址:http://blog.csdn.net/cwqcwk1/article/details/9167267
手把手教会你如何设置subversion中自带的svn协议的权限设置
svn subversion-1.7.2
Subversion for Windows安装指南,介绍了SVN在WINDOWS服务器上安装的详细说明。
Jenkins subversion svn插件 离线安装
Setup-Subversion-1.8.10.msi ,这是SVN服务器server端安装程序,经过本人安全检测,放心使用。
CollabNet Subversion Edge 4.0.2 + TortoiseSVN+中文包 1.8.2安装、svn服务器搭建、svn工程添加、获取全过程。图文说明。
SVN Tortoise windows 64位客户端
Subversion服务器程序,版本控制器 服务端
SVN配置管理 subversion服务器端和客户端操作
svn服务器软件Setup-Subversion-1.6.13
SVN服务器,包含如下版本: Subversion1.6.5_Setup, Subversion1.6.15_Setup, SVN1.4.6_setup, SVN1.6.6服务器
SVN服务端subversion SVN客户端TortoiseSVN最新版本
Setup-Subversion-1.7.5; SVNService; TortoiseSVN-1.7.12.24070-win32-svn-1.7.9; LanguagePack_1.7.12.24070-win32-zh_CN;