windows 设置一个SVN服务器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3376742/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Setup an SVN Server?
提问by Matthew Whited
Does anybody know how to setup a basic SVN server on my windows pc? I want to create an SVN repository to store the code for my home projects I've got lined up.
有人知道如何在我的 Windows 电脑上设置基本的 SVN 服务器吗?我想创建一个 SVN 存储库来存储我已经排队的家庭项目的代码。
Anyone know how to do this?
有人知道怎么做吗?
回答by Matthew Whited
Install VisualSVN Server. The server part is free. You can also just use any SVN tool to just create local repositories on your file system if you like. My favorite client side tool is TortoiseSVN.
安装VisualSVN 服务器。服务器部分是免费的。如果您愿意,您也可以使用任何 SVN 工具在您的文件系统上创建本地存储库。我最喜欢的客户端工具是TortoiseSVN。
回答by Rob
I can strongly recommend VisualSVN. It's very easy to setup, configure and use.
我强烈推荐VisualSVN。它非常容易设置、配置和使用。
I've installed it recently and have found it utterly pain-free. SVN client-wise, I'd recommend TortoiseSVN. It integrates directly with Explorer and is, again, easy to use.
我最近安装了它,发现它完全没有痛苦。SVN 客户端,我推荐TortoiseSVN。它直接与 Explorer 集成,同样易于使用。
If you're working with Visual Studio, AnkhSVNis a great client that integrates into VS and doesn't seem to have any problem with being used side-by-side with TortoiseSVN.
如果您使用 Visual Studio,AnkhSVN是一个很好的客户端,它集成到 VS 中,并且与 TortoiseSVN 并排使用似乎没有任何问题。
回答by George Johnston
I use VisualSVNon my Windows 2008 server and it works great. I then use TortoiseSVNon my client machines. The installation is painless and you should be up and running in no time.
我在 Windows 2008 服务器上使用VisualSVN,效果很好。然后我在我的客户端机器上使用TortoiseSVN。安装很轻松,您应该立即启动并运行。
回答by NitroxDM
If you are the only one accessing the repository all you need is tortoisesvn. You can make a local repository anywhere you want just by right clicking and selecting "Create Repository Here" then just use the file path for the URL.
如果您是唯一一个访问存储库的人,那么您只需要tortoisesvn。您可以通过右键单击并选择“在此处创建存储库”,然后使用 URL 的文件路径,在您想要的任何位置创建本地存储库。
回答by Ruslan Platonov
I would also recommend Visual SVN if you like to get SVN installed on your Windows PC. There is a nice tutorialthat describes installation and configuration process.
如果您想在 Windows PC 上安装 SVN,我也推荐 Visual SVN。有一个很好的教程,描述了安装和配置过程。
However think twice before hosting your product locally as that isn't the best option.
但是,在本地托管您的产品之前要三思,因为这不是最佳选择。
回答by Zumry Mohamed
Use ubersvnfor personal use it is working fine and it's freeware.
将ubersvn用于个人用途,它运行良好,而且是免费软件。
The program contains all the dependencies needed to set up and run an Apache Subversion server on Windows, Linux or Mac OS X operating systems .Checkthis here
该程序包含在 Windows、Linux 或 Mac OS X 操作系统上设置和运行 Apache Subversion 服务器所需的所有依赖项。在这里检查这个
回答by Zumry Mohamed
回答by jap jap
What is the final veredict? for a single user local repository what would be the best option:
最后的判决是什么?对于单用户本地存储库,最佳选择是什么:
- just create local repositories with TortoiseSVN (simpler and less resource consuming)
- install VisualSVN server to get the extra functionality it offers (for example, the automatic backups are quite interesting..)
- 只需使用 TortoiseSVN 创建本地存储库(更简单且资源消耗更少)
- 安装 VisualSVN 服务器以获得它提供的额外功能(例如,自动备份非常有趣..)
The idea of using VisualSVN server in my local machine with the automatic backups stored in a google drive folder in order to keep the repository in case of catastrophe sounds good, but maybe is a bit overkill.. is it heavy the server initialization? the machine is only booted while I am working in my spare time.. if the server takes no negligible time to start every time I turn on the PC maybe the first option is better.
在我的本地机器上使用 VisualSVN 服务器并自动备份存储在谷歌驱动器文件夹中以便在发生灾难时保留存储库的想法听起来不错,但可能有点矫枉过正..服务器初始化很重吗?机器仅在我在业余时间工作时启动..如果每次我打开 PC 时服务器启动的时间都可以忽略不计,那么第一个选项可能会更好。
回答by Dan Williams
Check Beanstalkit's not really an answer to the question you asked, but it might save you a lot of trouble. You could also check the VM marketplace, there are many virtual machines that would get you up and running super fast.
检查Beanstalk它并不是您所问问题的真正答案,但它可能会为您节省很多麻烦。您还可以查看VM 市场,有许多虚拟机可以让您快速启动和运行。
Here's also a very nice one called PMRepo, it includes Trac, Subversion, and Hudson in one VM.
这里还有一个非常好的PMRepo,它在一个 VM 中包含了 Trac、Subversion 和 Hudson。
回答by Noman Ahmad
before setting up SVN you need: 1.Install Putty http://www.putty.org/2.Creat Droplet on Digital Ocean 3.Install Apache,Install PHP,Install phpMyAdmin
在设置 SVN 之前,您需要: 1.Install Putty http://www.putty.org/2.Creat Droplet on Digital Ocean 3.Install Apache,Install PHP,Install phpMyAdmin
after that follow steps on below link:
之后按照以下链接中的步骤操作:
https://progtec.wordpress.com/2015/10/18/how-to-setup-svn-server/
https://progtec.wordpress.com/2015/10/18/how-to-setup-svn-server/