window下架设SVN服务器

本文介绍如何使用SVN 1.6.2和Apache 2.2在Windows环境下配置版本控制系统。主要内容包括所需软件版本、配置步骤及注意事项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

架设svn服务器(apache)。

SVN版本:svn-win32-1.6.2

apache版本:Apache2.2

在我架设的过程当中,出想过一些问题,造成apache不能启动。最后在事件查看器中找出解决问题的入口。最后成功。

下面是svn-win32-1.6.2 README.TXT的内容。最后详细的介绍了如何将SVN与apache结合到一起。enjoy~

 

This is Subversion for Win32, version 1.6.2. Read the CHANGES file to
see what changed in this release:

    http://svn.collab.net/repos/svn/branches/1.6.x/CHANGES

These binaries were built with:

    Neon 0.28.4
    Berkeley DB 4.4.20
    OpenSSL 0.9.8k
    ZLib 1.2.3
    Apache 2.2.11
    Python 2.6
    libintl 0.14.1 (patched)
    Ruby 1.8.6
    Cyrus SASL 2.1.22
    serf 0.3.0
    sqlite 3.6.14

The BDB binaries are at

    http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=688

The patched libintl is at

    http://subversion.tigris.org/files/documents/15/20739/svn-win32-libintl.zip

Please read the Subversion INSTALL file for more information:

    http://svn.collab.net/repos/svn/trunk/INSTALL
   
Note for Python 2.5+ users: Since Python 2.5+ will no longer load modules with
.dll extensions, you will need to rename the libsvn/*.dll files to .pyd
manually.


Package contents:

    svn-win32-1.6.2/
       README.txt           -- This file
       bin/                 -- All Subversion binaries and supporting DLLs,
          *.exe                including APR DLLs
          *.dll
          *.pdb
          mod_*_svn.so      -- Apache modules
          mod_*_svn.pdb
       doc/                 -- Doxygen documentation
          *.html
          *.css
          *.png
       iconv/               -- All apr-iconv loadable modules
          *.so
          *.pdb
       include/             -- Include files (for development)
          *.h
          apr/
             *.h
          apr-util/
             *.h
          apr-iconv/
             *.h
       javahl/              -- Java HighLevel wrapper library
          *.jar
          *.dll
          *.pdb
       lib/                 -- Library files (for development)
          libsvn*.lib
          apr/
             *.lib
             *.pdb
          apr-util/
             *.lib
             *.pdb
          apr-iconv/
             *.lib
             *.pdb
          neon/
             *.lib
             *.pdb
          serf/
             *.lib
             *.pdb
          sasl/
             *.lib
             *.pdb
       licenses/            -- Various license files
       perl/                -- Perl language bindings
          site/lib/SVN/
             *.pm
          site/lib/auto/SVN/
             *.dll
             *.pdb
       python/              -- Python language bindings
          libsvn/
             *.py
             *.dll
             *.pdb
          svn/
             *.py
       ruby/                -- Ruby language bindings
       share/
          locale/           -- Message translations

For a nice description of setting up Subversion on a server on Windows, see the
developer edition of the TortoiseSVN Manual, Chapter 3, Setting Up A Server:

   http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/index.html

For an Apache server here's the essentials:

1. Copy bin/mod_dav_svn.so and bin/mod_authz_svn.so to the Apache modules directory.
2. Add the Subversion/bin directory to the SYSTEM PATH and reboot so all the Subversion
   support dll's are visible to the Apache service.
3. Edit the Apache configuration file (httpd.conf) and make the following changes:

  3a. Uncomment the following two lines:

      #LoadModule dav_fs_module modules/mod_dav_fs.so
      #LoadModule dav_module modules/mod_dav.so

  3b. Add the following two lines to the end of the LoadModule section:

      LoadModule dav_svn_module modules/mod_dav_svn.so
      LoadModule authz_svn_module modules/mod_authz_svn.so

  3c. Add the following to end of the file. Note: This Location directive is a
      minimal example with no authentication directives. For other options,
      especially authentication options, see the Subversion INSTALL file,
      the Subversion Book, or the TortoiseSVN Manual.

      <Location /svn>
        DAV svn
        SVNPath your/repository/path
      </Location>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值