SVN Server Configuration in Gentoo
I am attempting to configure an SVN server in Gentoo.
I first emerged subversion.
Then I decided to use svnserve and started the daemon.
I then ran the emerge --config command for subversion
I then ran svnadmin create /mnt/data2/hosted_sites/aares/svn_repository to create a repository in that location and the setup appears to be successful
(After finding some other documentation) I then ran svnserve -d -r /mnt/data2/hosted_sites/aares/svn_repository
Here, I tried to use Tortise SVN to checkout the repository on another computer with svn://18.104.22.168/ (that is my ip)
(This results int it saying that it has revision 0)
I can then add things to the repository, but not commit them (it says "Commit failed (details follow):", but no details follow)
Also, I found something in some more documentation to try creating a tmp folder with file structure:
and then run:
svn import project file:///mnt/data2/hosted_sites/aares/svn_repository
This resulted in "svn: unable to open an ra_localsession to URL" and "svn: Unable to open repository file..."
So, I tried:
svn import project svn:///22.214.171.124/
This resulted in "svn: Authorization failed"
It seems as if I need to set up user permissions, but when I edit conf/svnserve.conf by uncommenting anything, attempting to checkout the repository throws the following error:
[Error /mnt/data2/hosted_sites/aares/svn_repository/conf/svnserve.conf:12: Option expected
where 12 can be replaced with anything that I uncomment
I'm running out of ideas of things to try and looking into more documentation seems to confuse me more than help me. Thanks.