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.

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
1  
but what? Please tell us your problem? –  quanta Sep 20 '12 at 18:21
1  
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

2 Answers 2

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 servername.com:5555 for the first and servername.com:4444 for the second. Apache would let you reverse proxy it so you could use svn1.servername.com for the 5555 one and svn2.servername.com 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.

http://www.rackspace.com/knowledge_center/article/multiple-repositories-and-subversion

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 at 14:42

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.