1、在服務器上安裝VisualSVN Server 2.5.5,同時將https屏蔽掉
比如,安裝位置為C:\Program Files\VisualSVN Server
2、配置“...\redmine-2.4.5\config\configuration.yml”文件中的SCM配置項
配置示例如下,紅色文字是需要配置SVN路徑,注意一定把svn.exe寫上
# Configuration of SCM executable command.
#
# Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
# On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
#
# On Windows + JRuby 1.6.2, path which contains spaces does not work.
# For example, "C:\Program Files\TortoiseHg\hg.exe".
# If you want to this feature, you need to install to the path which does not contains spaces.
# For example, "C:\TortoiseHg\hg.exe".
#
# Examples:
# scm_subversion_command: svn # (default: svn)
# scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe # (default: hg)
# scm_git_command: /usr/local/bin/git # (default: git)
# scm_cvs_command: cvs # (default: cvs)
# scm_bazaar_command: bzr.exe # (default: bzr)
# scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs)
#
scm_subversion_command: C:\Program Files\VisualSVN Server\bin\svn.exe scm_mercurial_command:
scm_git_command:
scm_cvs_command:
scm_bazaar_command:
scm_darcs_command:
3、重啟Redmine服務
4、以管理員身份登錄Redmine網站,并點擊“管理 --> 配置 --> 版本庫",進入版本庫選項頁,如果如下圖所示,Subversion選項有綠色對勾,代表設置成功
5、進入某個項目,點擊“版本庫”選項頁,配置SVN
SCM: Subversion
URL: svn庫的url訪問地址
登錄名: svn用戶名
密碼: svn密碼
6、配置成功后,如下圖所示