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 ssh access to a webserver which has svn. I'm trying to set up a repository via the ssh but I'm not completely sure how. The server is running parallels plesk if that makes a difference.

My home directory is as follows:

anon_ftp  cgi-bin  error_docs  httpsdocs  private     subdomains  
bin       conf     httpdocs    pd         statistics  web_users

should I create the repository in https docs, like svnadmin create httpsdocs/svn? Would this allow me to check out the repository like this svn checkout https://domain.com:443/svn/blah/trunk? Or is there some intermediate step to getting the repository to an accessible state?

How do I set up users and groups etc in the repository? Previously I have only used VisualSVN server on my laptop, which set up the server for me and made it really easy to configure the repository...

Can anyone help?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Do you have DAV enabled on the server? If not (or if it's not an option), then you won't be able to access the repo via http/https. That said, unless there's a specific reason you'd need to access it via http, you have the option of using svn+ssh. Here's a quick-n-dirty process:

  • On the server (via ssh): $ svnadmin create /path/to/repo
  • From your client: $ svn checkout svn+ssh://user@hostname:/path/to/repo
share|improve this answer
    
I'm glad there's a workaround. But how do I check for DAV? –  Carson Myers Dec 18 '09 at 5:00
    
Are you in control of the server or is it a shared server? If it's under your control, then it's probably not enabled. If shared, you'll need to talk with your hosting company. –  EEAA Dec 18 '09 at 5:07
    
It's my sort-of-boss's server, I have access to the plesk panel –  Carson Myers Dec 18 '09 at 5:10
    
I'm not familiar with plesk enough to know if it has a way of showing the currently-loaded apache modules. If you have root access on the server, you can run apache2 -M and it'll list the currently loaded modules. –  EEAA Dec 18 '09 at 5:16

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.