Heine

  • home
  • drupal
  • drupal core commits
  • about
Home

Subversion on Strato V-PowerServer

Heine — Wed, 21/02/2007 - 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]

Average: 4.8 (4 votes)
  • Subversion
  • V-PowerServer
  • Login or register to post comments

Thank you

Reini (not verified) — Wed, 21/03/2007 - 00:31

Great job.
This instructions were perfect for me.

  • Login or register to post comments

question

simily9 (not verified) — Tue, 30/10/2007 - 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

  • Login or register to post comments

Start the svnserver

Anonymous Coward (not verified) — Mon, 31/08/2009 - 21:50

To start the server i had to run this command:

# /etc/init.d/svnserve start

Many thanks for this information, nevertheless.

  • Login or register to post comments

Recent posts

  • Unserializing user-supplied data, a bad idea
  • Planet Drupal past and current
  • Help! - Cannot access a global variable.
  • Why is my module's update hook not listed on update.php's selection form?
  • How do I add a class to a link generated with l()
more

Security reviews

  • Afraid custom code makes your site vulnerable?
  • You don't really trust that module you just downloaded from Drupal.org?

Sleep better after a security review.

Tags

Captcha CSRF Drupal embed Input Format modx OpenID Performance Planet Drupal rants Security Varnish
more tags
  • home
  • drupal
  • drupal core commits
  • about

Copyright © 2010 by Heine Deelstra. All rights reserved.