Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a subversion server in my ubuntu box. But with many projects (a big one but with 4 apps concurrently and in differents languages) I would prefer to have a different subversion server for each one, but in the same box.

Could it be possible?

Now I'm using subdirs for each one in the same server. It works, but...

share|improve this question
but what? Please tell us your problem? – quanta Sep 20 '12 at 18:21
Perhaps you mean multiple repositories? And what kind of 'server' are you using to access your repositor(y|ies)? – gertvdijk Sep 20 '12 at 18:23
I can't imagine you'd see any benefit from doing this if it's all on one server anyways. – ceejayoz Sep 20 '12 at 18:31
up vote 1 down vote accepted

Yes you can run multiple svn servers, however you will need to have them be assigned to different ports using the --listen-port option.

To make it easy you could use apache server to reverse proxy to the different port numbers.

share|improve this answer
Ok, this seems to be the solution. But I dislike to use apache, I prefer to user svn service. – Juanin Sep 21 '12 at 9:19
You could leave apache out it entirely. For example if you start the first svn service at port 5555 and the second at port 4444 you will just punch in for the first and for the second. Apache would let you reverse proxy it so you could use for the 5555 one and for 4444. It adds no additional functionality and you still can reach them by their port numbers alone. It would possibly suggested if multiple people needed to use both, and be able to keep them straight. – Nate Sep 21 '12 at 14:32

I used solution from below post to run multiple svn repository on same box.

share|improve this answer
Link only answers are discouraged. Links can break making answer useless to future visitors. Can you add some detail from the linked article to improve this? – Dave M Jan 30 '14 at 14:42

Your Answer


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.