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

Thank you

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

Great job.
This instructions were perfect for me.

  • reply

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

  • reply

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.

  • reply

Post new comment

I reserve the right to edit any comment submitted to the site. If your comment contains flaming, advertisements, or simply too many spelling errors (leet speak), it may never appear.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <as>, <as3>, <csharp>, <diff>, <drupal5>, <drupal6>, <html>, <js>, <mysql>, <php>, <phpbrief>, <python>, <sql>, <plain>, <xml>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

Recent posts

  • The Joomlafication of the Dutch-speaking community
  • Upgraded from 6.14 to 6.15, but Drupal still thinks it's 6.14?
  • Google Friendconnect Drupal module not recommended (yet)
  • The OpenID 2.0 Compliance Crusade - Part I
  • Using <embed> for XSS
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 DOH! Drupal embed Input Format modx OpenID Performance Planet Drupal Security Varnish
more tags
  • home
  • drupal
  • drupal core commits
  • about

Copyright © 2010 by Heine Deelstra. All rights reserved.