为什么选择subversion不在本文讨论范围,网上到处都是,本文仅描述架设subversion服务器的步骤:
step1)下载和安装服务器
下载并安装svn-1.2.3-setup.exe,假设你安装到D:\deploy\Subversion
step2)建立Repository
打开命令窗口, 键入 svnadmin create D:\deploy\projects\searchz
step3)配置Repository
进入Repository目录,在本文中是D:\deploy\projects\searchz,你会看到conf目录,进入该目录,你会看到svnserve.conf和passwd两个文件
对两个文件作如下修改
svnserve.conf
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db
评论加载中…
![]() |