本文介绍了Tortoise SVN,服务器设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前的需求:让SVN在我们的商店工作。



目前的技能:上周我写了一篇名为The Ten Minute SVN Expert的课程,即,向用户展示如何设置Tortoise SVN并将其用于单独的源代码控制。



我们使用本地存储库执行此操作;即,在他们的笔记本电脑,笔记本电脑和台式电脑上。



:人们可以写作,承诺并有勇气犯错误。 />


BAD :一个人的磁盘发生故障,这是太阳能时间。



我的老板在我们的大型服务器上设置了一个更安全的系统,带有冗余的夜间备份等等。



我不知道在这个等式的服务器端发生了什么;因为那是一个(现在已经不见了)研究生为我们设置的,他们非常擅长快速完成工作以便他们工作。



现在是服务器端软件SVN不起作用。不知道一个月前发生了什么事,但它不会让任何人进去。



我们只是改变了办公室,老板说如果我解决这个问题我会很有用。



我查看 []我找到了链接...



- []来自CollabNet

- 这个, []来自WanDisco

- 这是 []来自Visual SVN



我的老板 真的 想要一个开源软件包;我一直完全支持他。



从阅读上述三个网站的措辞,我明显感觉到我不是真正被引导到我们真正追求的东西;即,一个真正的开源实现软件的服务器端。



如果有人在这里阅读过并成功导航过,那么您的建议将被很好地阅读兴趣和赞赏。



我觉得我并没有真正走向真正开源的服务器端实现。

Current Need: Make SVN work in our shop.

Current skills: Last week I wrote and presented a course called "The Ten Minute SVN Expert", i.e., to show users how to set up Tortoise SVN and use it for individual source code control.

We did this with local repositories; i.e., on their laptops and notebooks and desktops.

GOOD: people can write, commit, and have courage to make mistakes.

BAD: one guy''s disk fails and it''s solarbanite time.

My boss has set up a far safer system on our big server with a redundant nightly backup and so on.

I have no clue what happens on the server side of this equation; as that was set up for us by a (now gone) grad student who was very good at getting things done quickly so that they work.

Now the server side software of SVN does not work. No clue what happened a month ago, but it just would not let anybody in.

We just changed offices and boss says that I will be useful if I fix this.

I look on the Tortoise SVN Site[^] where I found links to...

-- This, Subversion Edge, [^] From CollabNet
-- This, uberSVN, [^] from WanDisco
-- This, Visual SVN Server, [^] from Visual SVN

My boss REALLY wants an open source package; and I''m totally behind him all the way.

From reading the wording on these three websites mentioned above, I get a distinct feeling that I''m not really being led to what we''re really after; i.e., a truly open source implementation the server side of the software.

If anyone reading here has seen this before and navigated it successfully, your suggestions will be read with great interest and appreciation.

I get the feeling that I''m not really headed toward a truly open source implementation of the server side of this.

推荐答案



  1. 从这里抓取Apache HTTPD 2.4 [ ]
  2. 下一步从这里抓取SVN []
  3. 以7-zip []打开httpd-2.4.4-win32.zip。将名为Apache24的文件夹解压缩到任何驱动器的根文件夹
  4. 按照文档[]配置HTTPD服务器并确保它作为服务运行
  5. 停止Apache服务
  6. 在任何驱动器的根文件夹中创建名为SVN179的文件夹
  7. 以7-zip打开svn-win32-1.7.9-ap24.zip,将zip中名为svn-win32-1.7.9的文件夹内容解压缩到之前创建的SVN179文件夹中。
  8. 将以下文件从SVN179\bin文件夹复制到APACHE24 \bin文件夹。


    • intl3_svn.dll
    • libapr-1.dll
    • libapriconv-1.dll
    • libaprutil- 1.DLL
    • libdb48.dll
    • 的libeay32.dll
    • libsasl.dll
    • libsvn_client的-1.DLL
    • libsvn_delta-1.DLL
    • libsvn_diff-1.DLL
    • libsvn_fs支持-1.DLL
    • libsvn_ra-1.DLL
    • libsvn_repos-1.DLL
    • libsvn_subr-1.DLL
    • libsvn_wc-1.DLL
    • ssleay32.dll

  1. Grab Apache HTTPD 2.4 from here[^]
  2. Next Grab SVN from here[^]
  3. Open httpd-2.4.4-win32.zip in say 7-zip[^]. Extract the folder named Apache24 on to root folder of any drive
  4. Follow the documentation[^] to configure the HTTPD server and make sure it runs as a service
  5. Stop Apache Service
  6. Create a folder named SVN179 in the root folder of any drive
  7. Open svn-win32-1.7.9-ap24.zip in say 7-zip, extract the contents of folder named svn-win32-1.7.9 inside the zip into SVN179 folder created earlier.
  8. Copy following files from SVN179\bin folder to APACHE24\bin folder.

    • intl3_svn.dll
    • libapr-1.dll
    • libapriconv-1.dll
    • libaprutil-1.dll
    • libdb48.dll
    • libeay32.dll
    • libsasl.dll
    • libsvn_client-1.dll
    • libsvn_delta-1.dll
    • libsvn_diff-1.dll
    • libsvn_fs-1.dll
    • libsvn_ra-1.dll
    • libsvn_repos-1.dll
    • libsvn_subr-1.dll
    • libsvn_wc-1.dll
    • ssleay32.dll


  • mod_authz_svn.so
  • mod_dav_svn.so
  • mod_dontdothat.so
<Directory />
    AllowOverride none
    Require all denied
    # Add following lines
    Order allow,deny
    Allow from all
</Directory>

在DocumentRoot的Directory条目下添加类似的行。最后在文件末尾添加以下行

Add similar lines under the Directory entry for your DocumentRoot. Finally add following line at the end of the file

Include conf/extra/subversion.conf

  • 现在在APACHE24中创建一个名为subversion.conf的文件\ conf\extra文件夹。将以下行粘贴到其中

  • Now create a file named subversion.conf in APACHE24\conf\extra folder. Paste following lines into it

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

  • 最后一步是将subversion与apache链接起来。要执行此操作,请打开subversion.conf文件并添加以下条目,随意根据需要更改路径。我假设您的SVN存储库位于D:\ SVNREPO文件夹中。

  • Final step is to link the subversion with apache. To do this open subversion.conf file and add following entry, Feel free to change the paths as per your needs. I am assuming that your SVN repository is located on D:\SVNREPO folder.

    <Location /project1>
      DAV svn
      SVNPath D:/SVNREPO/project1
    </Location>





  • 有关设置身份验证的更多信息,请访问[]



    问候,


    More information on setting up authentication can be found here[^]

    Regards,


    这篇关于Tortoise SVN,服务器设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    08-13 06:02