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 want to be able to set up a private SVN for my small team that we can share code over the SVN, however I need to enable SSH/Shell access. Is there a way without using SSH/Shell access.

If this is not possible, can I make a HTTP SVN? That lists the files and be able to be checked out by a SVN client, e.g. Cornerstone (for Mac), TortoiseSVN (for PC).

Cheers.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

The solution is to used the dav_svn module in Apache. All svn clients support that method and access control is done through simpleauth in Apache and group definitions in dav_svn.

Documentation for it is abundant, here is an example of a quick howto:

http://www.debuntu.org/2006/05/20/54-how-to-subversion-svn-with-apache2-and-dav

Let me know if you have any questions.

share|improve this answer
    
This includes SSH/Shell access? –  Burning the Codeigniter Feb 28 '11 at 22:50
1  
Using the dav_svn module and Apache removes the need for ssh/shell access. A user can connect to the Subversion repository using their SVN client without ssh/shell on the Subversion server. –  Christopher Cashell Feb 28 '11 at 22:53
    
Hmmm... I'm not sure quite how to get stuff done, like: apt-get install subversion libapache2-svn, I mean where do I put that? –  Burning the Codeigniter Feb 28 '11 at 23:00
1  
Additionally, please refer to this book: svnbook.red-bean.com - it has plenty of info about SVN including mod_dav_svn. –  ExtraT Feb 28 '11 at 23:34
1  
I most definitely know how to, but tutoring you in the basics of Apache web server setup and administration is beyond the scope of your question. You need to study it from the basics and ask questions about specific problems, should they arise - You can't expect people to just guve it to you 100% without knowing anything about your system. –  ExtraT Feb 28 '11 at 23:36
show 5 more comments

Head over to http://www.wandisco.com/subversion/download and download the subversion binaries for your platform. As part of the install process you will be asked if you want install apache and dav_svn as well. Once you do that, you need to configure the apache server to serve up your subversion repository (once you create it using "svnadmin create", you need to make sure it is owned by the user that runs the Apache server).

Have a look at http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.serverconfig.httpd for more information on the Apache configuration.

share|improve this answer
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.