简体   繁体   English

SVN服务器在家庭网络中的Windows Vista上运行,可从Mac OS X访问

[英]SVN Server running on Windows Vista in a Home Network, Accessing from Mac OS X

I have SVN running on my main windows development box on my home network. 我的家庭网络的主要Windows开发盒中都运行SVN。 I access the server from various development laptops depending on what I'm doing. 我可以根据自己的工作从各种开发笔记本电脑访问服务器。 I also do this with a Mac OS X development laptop but I apparently have to use the IP Address of the SVN Server. 我也使用Mac OS X开发笔记本电脑进行此操作,但是显然我必须使用SVN服务器的IP地址。

This is causing problems because the IP address of the SVN server changes. 由于SVN服务器的IP地址更改,这会导致问题。 On my windows machines, I can access SVN via the servers name. 在Windows计算机上,我可以通过服务器名称访问SVN。

Is it possible for me to do something like this from my Mac? 我可以在Mac上执行类似的操作吗? Or perhaps some configuration so I can "configure" my mac to to name an IP Address? 也许是一些配置,以便我可以“配置”我的Mac以命名IP地址? (Perhaps the hosts file?) (也许是hosts文件?)

Thank you all! 谢谢你们!

Regards, 问候,
Frank 坦率

Update : I access my SVN repository on my Mac with ZigVersion . 更新 :我使用ZigVersion访问Mac上的SVN存储库。 I use a URL like the following: http://Frank@192.168.1.7/svn/RepositoryName/ 我使用如下网址: http://Frank@192.168.1.7/svn/RepositoryName/

Update 2 : While Chris gave a good answer (that I understand), I was hoping for something a little more elegant. 更新2 :虽然Chris给出了一个很好的答案(据我所知),但我希望有一些更优雅的方法。 If you think this is the best method, please chime in by voting. 如果您认为这是最好的方法,请投票表决。 I'm looking for other ideas but also community opinion on how this might be accomplished. 我正在寻找其他想法,但也正在寻求社区对如何实现此目标的意见。

Also, If it'd be possible to Post this on ServerFault , please let me know how. 另外,如果可以在ServerFault上发布此消息,请告诉我如何做。

I have my router set up to give my server the same IP so that I don't run into this issue. 我已将路由器设置为为服务器提供相同的IP,这样我就不会遇到此问题。 If I were you, I would just set up a static IP either through Windows or through your router. 如果您是我,我将只通过Windows或通过路由器设置一个静态IP。

It sounds like your windows machine is using a windows-specific method of broadcasting its NetBIOS name. 听起来您的Windows计算机正在使用Windows特定的方法广播其NetBIOS名称。 The OS X system is trying to lookup the DNS name. OS X系统正在尝试查找DNS名称。 Your DNS system should be fixed to allow the DHCP server to assign hostnames. 您的DNS系统应该固定为允许DHCP服务器分配主机名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以从Windows的低色深连接到Mac OS X 10.5 Leopard的内置vnc服务器? - Is it possible to connect to Mac OS X 10.5 Leopard's built in vnc server at a low color depth from Windows? 从MAC OS X到Windows Server 2008 R2的RDP许可错误 - RDP from MAC OS X to Windows Server 2008 R2 License Error 测试从VirtualBox在mac os x上运行的Rails应用程序 - Testing Rails App running on mac os x from VirtualBox 将隐藏的文件夹从Windows 10复制到Mac OS X - Copying hidden folders from Windows 10 to Mac OS X 如何从Windows构建Mac OS X 10.6的jar? - How to build a jar for Mac OS X 10.6 from windows? Mac OS X工作站上的刀引导Windows Winrm失败 - knife bootstrap windows winrm from Mac OS X workstation fails 如何将 Android Studio 项目从 Windows 转移到 Mac OS X? - How to transfer an Android Studio Project from Windows to Mac OS X? 如何将Ruby on Rails网站从Mac OS X推送到Windows - how to push Ruby on Rails site from Mac OS X to Windows 从父Windows操作系统调用在Mac vmware上运行的应用程序 - Invoking an application running on mac vmware from parent Windows OS 如何指定svn url来从本地网络上的Mac访问Windows计算机上的存储库? - How to specify svn url to access a repos on a Windows machine from a mac on a local network?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM