Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: svn over https?
PostPosted: Sun Aug 22, 2010 8:08 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
hi

I am thinking of joining linode.com mainly for having my own "multi user svn server". It seems to me that I cannot make it work on shared hosting service this way

1) I want it to be secure
2) I don't want to give out ssh access to my linode.

( I don't have to use svn, could be any other similar solution )

So the only solution (correct me if I'm not right) seems to me svn over https. Is that possible?

Thank you

Radek


Top
   
 Post subject:
PostPosted: Sun Aug 22, 2010 9:17 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Yes using webdav see http://library.linode.com/development/v ... stems/svn/


Top
   
 Post subject:
PostPosted: Mon Aug 23, 2010 7:15 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
obs wrote:


thanks for that. That looks great.

Can I do the same with Nginx? I thought I would go for Nginx instead of Apache on my linode. Or is it good idea to run two different web servers on the same linode to serve different domains?


Top
   
 Post subject:
PostPosted: Mon Aug 23, 2010 7:48 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
I don't think you can do it with nginx I've never tried, I personally use git over ssh.

You could configure nginx to serve web traffic on port 80 and then have apache server svn traffic on port 443 (https)


Top
   
 Post subject:
PostPosted: Mon Aug 23, 2010 9:24 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
I recommend doing like obs, use SVN over SSH and not even have to install an SVN server.

This is how to configure it in Eclipse, as an example:

# ssh repo on some server
svn+ssh://user@ipaddress-or-hostname:portnum/repo-path


Top
   
 Post subject:
PostPosted: Mon Aug 23, 2010 10:00 pm 
Offline

Joined: Wed Apr 28, 2010 11:35 am
Posts: 1
I used to do something similar with Lightthpd where I had an apache install (tuned to not use a bunch of memory) setup on alternate ports. Since all of my repos were under a single path I would proxy any requests matching that path over to the apache install.

Later on I switched my webserver to a combo of Nginx + Apache, but I also switched over to git, but I'm positive you could do a similar setup with Nginx + Apache + SVN


Top
   
 Post subject:
PostPosted: Tue Aug 24, 2010 5:53 am 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
jebblue wrote:
I recommend doing like obs, use SVN over SSH and not even have to install an SVN server.

This is how to configure it in Eclipse, as an example:

# ssh repo on some server
svn+ssh://user@ipaddress-or-hostname:portnum/repo-path


well, my concern is that if svn is over ssh that means shell access to the person I want only to do code checking. Please correct me if I am wrong.


Top
   
 Post subject:
PostPosted: Tue Aug 24, 2010 5:22 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Use git instead with git-shell, no actual shell access just git access.


Top
   
 Post subject:
PostPosted: Tue Aug 24, 2010 8:47 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
cimenta wrote:
jebblue wrote:
I recommend doing like obs, use SVN over SSH and not even have to install an SVN server.

This is how to configure it in Eclipse, as an example:

# ssh repo on some server
svn+ssh://user@ipaddress-or-hostname:portnum/repo-path


well, my concern is that if svn is over ssh that means shell access to the person I want only to do code checking. Please correct me if I am wrong.


Yeah that's true, it's not a good fit for your second requirement. I see obs is suggesting a solution with git.


Top
   
 Post subject:
PostPosted: Thu Aug 26, 2010 6:56 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
jebblue wrote:
cimenta wrote:
well, my concern is that if svn is over ssh that means shell access to the person I want only to do code checking. Please correct me if I am wrong.


Yeah that's true, it's not a good fit for your second requirement. I see obs is suggesting a solution with git.

what if I set up the permissions right (not sure if possible) so the users won't have rw access to the repository


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group