Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there are way to run a local svn server on a Mac (OS X 10.6.x) such that no ports are open and accessible from outside that Mac?

If so, exactly where do any configuration scripts of any kind need to go?

share|improve this question

migrated from stackoverflow.com Mar 9 '11 at 22:14

This question came from our site for professional and enthusiast programmers.

    
Why bother? If your goal a personal source repository, there are vastly better and easier to configure decentralized options. Mercurial, git, Fossil, monotone, ... –  mikerobi Mar 9 '11 at 21:59
    
So how do I migrate this question to programmers.stackexchange, if that's the more suitable QA forum? (But a search showed more svn questions here than there.) –  hotpaw2 Mar 9 '11 at 22:13
1  
By "outside" do you mean outside that computer, or outside the network? –  JeffG Mar 9 '11 at 22:49
add comment

2 Answers 2

up vote 4 down vote accepted

You can use subversion repositories with the file protocol tool, something like file:///opt/svn/my_repo. That way, you can use your SVN repos locally without the need for an actual server.

Another alternative could be to setup an Apache with mod_dav_svn and let it listen only to localhost (127.0.0.1).

share|improve this answer
add comment

I think that by default when you install SVN it is only accessible from the local box as it does not have a built in networking infrastructure. You usually have to tie it into an apache config or tunnel to the box with SSH.

So you should be able to install it without a worry of networking. If your install automagically installs the apache piece, you should be able to disable it in your apache conf.

share|improve this answer
    
You would want to use the commandline interface at this point which is really easy to use. –  Mike Mar 9 '11 at 22:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.