Hi group. Not sure this is the right forum, but I'll try anyway.
I've got svn working fine around the office on our LAN with a Linux / Apache server and mix of Linux and Windows clients.
I'm now trying to install it on our main server so I can share access with offsite developers. I've downloaded and installed it OK and managed to create a respository. I've set up the user accounts and have run svnserve using:
svnserve -d -r /home/default/hostname.com/user/htdocs/svn
where "svn" is the repository.
I'm now trying to connect and checkout using the Tortoise client with "svn://hostname.com/svn" .
I get the error "Can't connect to host....". I'm not quite sure what is going on.
I could be that the svn:: port is not open / listenting (I don't know how to fix this) or it may be something else.
Any hints and help gratefully received.
Cheers,
David
Getting subversion to work
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Do you have SSH running. I've only ever used SVN over HTTP or SSH as a method of transport. Try this:
You could also set apache up with mod_svn to stream this too.
Code: Select all
svn co ssh+svn://hostname.tld/svnI have just tried this method. It's asking for a password for a null username. So I add a username into the url and it asks for the password. I enter the correct password and it then complains that there is no repository at the location I use.
There is one there because it works fine from the console using localhost.
I'm quite a Linux novice and I think there is quite a lot in the background that I have to get right; users, permissions, ownership of directories where the repository lives etc etc.
Still baffled!
D
There is one there because it works fine from the console using localhost.
I'm quite a Linux novice and I think there is quite a lot in the background that I have to get right; users, permissions, ownership of directories where the repository lives etc etc.
Still baffled!
D
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Sorry, change the "/svn" part to the absolute path of the repository (e.g. /var/svn/<project> )davidtee1 wrote:I have just tried this method. It's asking for a password for a null username. So I add a username into the url and it asks for the password. I enter the correct password and it then complains that there is no repository at the location I use.
There is one there because it works fine from the console using localhost.
I'm quite a Linux novice and I think there is quite a lot in the background that I have to get right; users, permissions, ownership of directories where the repository lives etc etc.
Still baffled!
D