windows下安装SVN

本文详细介绍了在Windows操作系统上安装Subversion和TortoiseSVN的步骤,包括如何建立SVN服务器、设置权限及启动服务。通过设置svnserve.conf和passwd文件创建用户并控制访问权限,同时讲解了如何利用Windows Service方式启动svnserve,确保服务自动运行。此外,还探讨了Subversion的权限控制,包括中文目录权限设置,并分享了如何使用‘锁定-编辑-解锁’模型来管理二进制文件的编辑权。
摘要由CSDN通过智能技术生成

1安装

Subversion的主页是http://subversion.tigris.org/ 或者你也可以直接点击这里下载Setup-Subversion-1.6.5.msi
TortoiseSVN 的主页是 http://tortoisesvn.tigris.org/ 你也可以直接点击这里下载TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi

首先我们安装运行Setup-Subversion-1.6.5.msi 安装界面比较简单,我们主要关注安装位置,假定我

安装在默认位置C:/Program Files/Subversion

接下来安装TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi,默认即可。

2建立svn服务器

2.1.首先通过图形界面在C盘建立一个名为svn目录

2.2.在cmd运行svnadmin create C:/svn/fcrepos.此步骤也可以单击右键的Createrepository here生成

2.3.则此时在svn目录下会出现fcrepos目录,修改conf文件夹里面的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 = none //改为=none,去掉#
  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 directory  containing
  ### this configuration file.
  ### If SASL is enabled (see below), this file will NOT be used.
  ### Uncomment the line below to use the default password file.
  password-db = passwd //去掉#
  ### The authz-db option controls the location of the authorization
  ### rules for path-based access control. Unless you specify a path
  ### starting with a /, the fi

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值