[英]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.