Installing Subversion.

Started by
6 comments, last by Toolmaker 19 years, 1 month ago
I have a web server that i was trying to install subversion to. I wanted to create a repository on it, but i can't even get svn to install! i'm using Windows 200 SP4 on my PC and the server's using FreeBSD. I've read the quickstartguide , the book, and i still can't understand this stuff. would someone plz help? TIA
Advertisement
You might want to consider using the stand-alone server svnserve instead of trying to install it in a web server.

It certainly works for me - on win32 and Linux.

Basically I created a local repository, then served it with svnserve. You just set up a file containing the usernames and passwords, and a config file telling it whether to allow anon. access or not (etc). Read the doc for more info.

Mark
Actually, I need the repository to be hosted online, for the rest of my team to access it... any ideas?
You could look into the services offered by CVSDude and Subversionary. They will host remote repositories for you, for a reasonable price. It might be an idea if you don't want the hassle of running your own server.
svnserve will host the repository online, although at a port other than 80. It really is a snap to get going.

1) compile subversion software (or install pre-built binaries)
2) create local repository to "seed" it. It can be empty.
3) create config files for svnserve, and point it at the local repository
4) make sure svnserve is started out of /etc/rc or equivalent
5) make sure your firewall allows access to the svnserve port from the internet

Clients will then use svn:// URLs instead of http:// URLs for their repo specification.
enum Bool { True, False, FileNotFound };
Quote:Original post by hplus0603
svnserve will host the repository online, although at a port other than 80. It really is a snap to get going.

1) compile subversion software (or install pre-built binaries)
2) create local repository to "seed" it. It can be empty.
3) create config files for svnserve, and point it at the local repository
4) make sure svnserve is started out of /etc/rc or equivalent
5) make sure your firewall allows access to the svnserve port from the internet

Clients will then use svn:// URLs instead of http:// URLs for their repo specification.


I don't understand from step three and beyond. could you please explain them? sorry, i'm just not that good at networking stuff!
TIA
Apparantly, i can't get the "svn import ..." step to work for me. any ideas?
Did you create the repository with svnadmin first? Use this:

svadmin create path/to/repos/


After creating the repository, try doing:

svn -ls http://url/to/repos/


If that shows an empty repos, then you can use

svn import local/path/ path/to/repos --message "Initial repository import"


Toolmaker

This topic is closed to new replies.

Advertisement