操作系统 | 千层饼的家常做法Windows XP Professional SP2 | 尽量使用原版,因为有朋友反映在部分类似番茄花园的盗版XP上,由于内部文件做过优化,导致Subversion服务端软件异常。 |
服务端软件 | Setup-Subversion-1.6.5.msi | Windows MSI installer with the basic win32 binaries – includes binaries for Apache 2.2.x (2.2.9 or higher is required within the 2.2.x ries) |
客户端软件 | TortoiSVN-1.6.5.16974-win32-svn-1.6.5.msi | 常用的GUI客户端 |
客户端软件 | Slik-Subversion-1.6.5-win32.msi | 命令行工具,如果你习惯用cvs的命令行,那这个你会很适应 |
C:\Program Files\Subversion\bin>svnadmin create c:\svnroot C:\Program Files\Subversion\bin> |
[general] ### The options control access to the repository for unauthenticated ### and authenticated urs. Valid values are "write", "read", ### and "none". The sample ttings below are the defaults. anon-access = none auth-access = write ### The password-db option controls the location of the password ### databa file. Unless you specify a path starting with a /, ### the file’s location is relative to the directory containing ### this configuration file. ### If SASL is enabled (e below), this file will NOT be ud. ### Uncomment the line below to u the default password file. password-db = passwd ### The authz-db option controls the location of the authorization ### rules for path-bad access control. Unless you specify a path ### starting with a /, the file’s location is relative to the the ### directory containing this file. If you don’t specify an ### authz-db, no path-bad access control is done. ### Uncomment the line below to u the default authorization file. # authz-db = authz ### This option specifies the authentication realm of the repository. ### If two repositories have the same authentication realm, they should ### have the same password databa, and vice versa. The default realm ### is repository’s uuid. # realm = My First Repository |
### This file is an example password file for svnrve. 日月潭的资料### Its format is similar to that f. As shown in the ### example below it contains one ction labelled [urs]. ### The name and password for each ur follow, one account per line. [urs] # harry = harryscret # sally = sallyscret joe = 123 |
sc create svnrve binpath= "\"D:\Program Files\Subversion\\" --rvice --root E:\ROOT\Work\tool\SVN_PRJ" displayname= "Subversion" depend= tcpip start= auto 师德表现——注意为了回避目录名中的空格等字符,将整个binpath值放在双引号中;另外,sc 的命令行很特殊。在 key= value 对中,key 与 = 之间不能有空格,但是在 value 之前,必须有空格。 定义了服务之后,就可以使用GUI工具(如服务管理面板)进行停止、启动和查询,也可以通过命令行的方式进行: C:\>net stop svnrve C:\>net start svnrve C:\>sc delete svnrve(需要确定先停止了服务) |
C:\Program Files\Subversion\bin>svnrve -d -r c:\svnroot |
C:\>sc create svn binpath= "C:\Program Files\Subversion\ –rvice -r c:\svnroot" displayname= "Subversion Server" depend= tcpip start= auto C:\>net start svn |
本文发布于:2023-05-23 14:07:22,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/fan/82/746013.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |