Subversion on Strato V-PowerServer
Heine Wed, 2007/02/21 - 10:41
Having internet accessible repositories is great for code backups, collaboration and deployment of staging servers. Here's a quick guide on getting svnserve running on a Strato V-PowerServer.
First, install subversion:
Add the user and group svnserv needs:
# useradd -r -g svn svn
Create a repository (in the following commands indicated with [name]) and make sure svnserve can read / write it:
# svnadmin create /srv/svn/repos/[name]
# chown -R svn:svn /srv/svn/repos/[name]
Open /etc/sysconfig/svnserve and make sure it reads:
Open /srv/svn/repos/[name]/conf/svnserve to configure access to the repository:
# Anonymous users have no access. (use read for read access).
anon-access = none
# Authenticated users in passwd can read and write to the repository.
auth-access = write
password-db = passwd
realm = repository [name]
Create /srv/svn/repos/[name]/conf/passwd:
username = password
Start the server:
You can now access the repository via svn://example.com/[name], eg:
Comments
Thank you
Submitted by Reini (not verified) on Wed, 2007/03/21 - 00:31Great job.
This instructions were perfect for me.
question
Submitted by simily9 (not verified) on Tue, 2007/10/30 - 10:38good job firtst of all...
two questions:
1. if i try to start the svnserve start i doesn´t work out.
2. if i try to open the svn://www.domain.com/[name] the following error appears in tortoise:
Error * Can't connect to host 'www.domain.com': Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.
mybe you can help me... thnaks
regards
simily
Start the svnserver
Submitted by Anonymous Coward (not verified) on Mon, 2009/08/31 - 22:50To start the server i had to run this command:
# /etc/init.d/svnserve startMany thanks for this information, nevertheless.