本教程会从最基本的下载安装到上传代码,下载代码这条线来详细讲述如何完成SVN服务器的搭建

  • 下载并安装VisualSVN server
  • 下载并安装TortoiseSVN
  • 导入项目
  • 创建用户组和用户
  • 设置权限
  • 检出项目

下载并安装VisualSVN server

  • 下载VisualSVN server 
    下载地址:https://www.visualsvn.com/server/download/ 
    Windows下本地或局域网下搭建SVN服务器_svn

  • 下载完成后是这样的 
    Windows下本地或局域网下搭建SVN服务器_svn_02

  • 安装VisualSVN server
    Windows下本地或局域网下搭建SVN服务器_svn_03
    Windows下本地或局域网下搭建SVN服务器_下载地址_04
    Windows下本地或局域网下搭建SVN服务器_版本库_05
    Windows下本地或局域网下搭建SVN服务器_导入项目_06
    Windows下本地或局域网下搭建SVN服务器_下载地址_07
    Location是指VisualSVN Server的安装目录; 
    Repositorys是指定你的版本库目录; 
    Server Port指定一个端口; 
    Use secure connection勾山表示使用安全连接;
  • 注:版本不一样,有时候需要自己判断一下

Windows下本地或局域网下搭建SVN服务器_html_08
Windows下本地或局域网下搭建SVN服务器_导入项目_09

安装完成

下载并安装TortoiseSVN

  • 下载`TortoiseSVN 
    下载地址:官网下载地址:http://tortoisesvn.net/downloads.html 
    Windows下本地或局域网下搭建SVN服务器_下载地址_10

  • 下载完成后是这样的 
    Windows下本地或局域网下搭建SVN服务器_下载地址_11

  • 安装TortoiseSVN 
    Windows下本地或局域网下搭建SVN服务器_下载地址_12
    Windows下本地或局域网下搭建SVN服务器_html_13
    Windows下本地或局域网下搭建SVN服务器_版本库_14
    此处的安装地址建议不动,当然你也可以选择你要安装的地址 
    Windows下本地或局域网下搭建SVN服务器_html_15
    Windows下本地或局域网下搭建SVN服务器_版本库_16
    Windows下本地或局域网下搭建SVN服务器_html_17

汉化TortoiseSVN(看你愿不愿意喽)

搭建SVN服务器(重头戏)

  • 打开VisualSVN server Manger 
    Windows下本地或局域网下搭建SVN服务器_html_23

    可以在窗口的右边看到版本库的一些信息,比如状态,日志,用户认证,版本库等.要建立版本库,需要右键单击左边窗口的Repositores,如图:

  • 创建版本库 
    Windows下本地或局域网下搭建SVN服务器_html_24
    Windows下本地或局域网下搭建SVN服务器_html_25
    Windows下本地或局域网下搭建SVN服务器_版本库_26
    Windows下本地或局域网下搭建SVN服务器_版本库_27
    Windows下本地或局域网下搭建SVN服务器_导入项目_28

  • 导入项目 
    Windows下本地或局域网下搭建SVN服务器_版本库_29
    Windows下本地或局域网下搭建SVN服务器_svn_30
    Windows下本地或局域网下搭建SVN服务器_svn_31
    Windows下本地或局域网下搭建SVN服务器_导入项目_32

  • 建用户组和用户 
    Windows下本地或局域网下搭建SVN服务器_下载地址_33
    Windows下本地或局域网下搭建SVN服务器_导入项目_34
    Windows下本地或局域网下搭建SVN服务器_html_35
    Windows下本地或局域网下搭建SVN服务器_下载地址_36

  • 设置权限 
    Windows下本地或局域网下搭建SVN服务器_svn_37
    Windows下本地或局域网下搭建SVN服务器_下载地址_38

  • 检出项目 
    Windows下本地或局域网下搭建SVN服务器_svn_39
    Windows下本地或局域网下搭建SVN服务器_svn_40
    Windows下本地或局域网下搭建SVN服务器_html_41

地址:https://pan.baidu.com/s/1lt-AGsKBeycsDqUgt1WStA