window下搭建svn全过程

:D 首先,下载和安装服务器

去官方网站下载并安装svn-1.2.3-setup.exe,

下载地址如下:
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91

安装到D:\svnserver\Subversion(随意)

然后,建立Repository

打开命令窗口, 键入 svnadmin create D:\svnserver\projects\EasyON

再然后,配置Repository

进入Repository目录,在本文中是D:\svnserver\projects\EasyON,你会看到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 = passwd


passwd

[users]
# harry = harryssecret
# sally = sallyssecret
jackie = jackie (你要添加的svn用户,第一个是用户名,第二个是密码,可以添加多个)

以上配置完事,说明你已经具备了svn服务器的前提条件,可以添加使用用户和密码了,
接下来完成最主要的事宜了,—-—

再再然后,向Subversion中导入项目:现在我们需要将项目导入到Subversion的库中,只需执行一下命令: svn :lol: import d:\EasyON(要放到服务器的项目) svn://localhost/demo(欲放到的服务器目录,事先建立好) -m "initial import" --username jackie --password jackie
   这样项目就导入到subversion库中啦。

最后既然是做为svn服务器,必须要执行svnserve -d -r D:\svnserver\project,记住不要关闭窗口,服务器嘛,就让它跑着,挂了拉倒,呵呵,本人就这么配置的,都OK,没什么问题,呵呵
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值