如何远程访问我的 svn 存储库?
我有一个域名。我有一个专用的Windows服务器。它安装了 svn 并且我创建了一个 svn 存储库。如何设置用户名和密码来访问它。如何远程访问它而无需通过远程桌面?我的存储库位于远程服务器上的 c:\svn
I have a domain. And I have a dedicated windows server. It has svn installed and I created a svn
repository. How do I setup usernames and passwords to access it. And how do I access it remotely without having to go through remote desktop? My repository is located remotely on my server at c:\svn
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不太确定你如何在 svn 服务器中构建目录,但文件路径看起来像这样。
svn\repository\projectname\conf
在此文件夹中,您将找到一个名为 passwd 的文件,在文本编辑器中打开它,然后像这样输入您想要的 svn 用户名。
用户名 = 密码
关于远程访问,它应该从一开始就准备好。使用我之前显示的层次结构,链接应该如下所示。
svn://domain.topdomain/项目名称
I'm not exactly sure how you have structure up the directory in your svn server but the file path use to look something like this.
svn\repository\projectname\conf
in this folder you will find a file named passwd open it in a text editor and input the username you want to your svn like this.
username = password
About the remote access it should be ready from the beginning. Using the hierarchy i showed before the link should looks like this.
svn://domain.topdomain/projectname
对于远程访问,您必须启用任何受支持的网络协议 - http:// over Apache 或 svn:// with svnserve
For remote access you have to enable any of supported network protocol - http:// over Apache or svn:// with svnserve