Heine

  • Home
  • Drupal
  • About
Home

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:

# yast -i subversion

Add the user and group svnserv needs:

# groupadd svn
# useradd -r -g svn svn

Create a repository (in the following commands indicated with [name]) and make sure svnserve can read / write it:

# mkdir -p /srv/svn/repos
# svnadmin create /srv/svn/repos/[name]
# chown -R svn:svn /srv/svn/repos/[name]

Open /etc/sysconfig/svnserve and make sure it reads:

SVNSERVE_OPTIONS="-d -r /srv/svn/repos"

Open /srv/svn/repos/[name]/conf/svnserve to configure access to the repository:

[general]
# 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:

[users]
username = password

Start the server:

# /etc/init.d/svnserv start

You can now access the repository via svn://example.com/[name], eg:

# svn co svn://example.com/[name]
  • V-PowerServer
  • Subversion

Comments

Thank you

Submitted by Reini (not verified) on Wed, 2007/03/21 - 00:31

Great job.
This instructions were perfect for me.

question

Submitted by simily9 (not verified) on Tue, 2007/10/30 - 10:38

good 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:50

To start the server i had to run this command:

# /etc/init.d/svnserve start

Many thanks for this information, nevertheless.

Recent posts

  • Teampassword manager's password generator is biased
  • Other vectors for SA-CORE-2014-005?
  • Lazy loading: hook_hook_info is for hook owners only.
  • "Always offline" problem in EA's Origin due to antivirus
  • From bug to exploit - Bakery SSO
more

Security reviews

I provide security reviews of custom code, contributed modules, themes and entire sites via LimoenGroen.

Contact us for a quote.

Follow @ustima

Copyright © 2021 by Heine Deelstra. All rights reserved.

  • Home
  • Drupal
  • About