Ubuntu10.04 install the SVN Server

Source: Internet
Author: User
Ubuntu10.04 install SVN Server 1. install package $ sudoapt-getinstallapache2libapache2-svnsubversion2. Configure apache (httpd. conf) & lt; Location/PROJECT1 & gt; DAVsvnSVNPath/COMPANY/svnrepo/P

Install the SVN server in Ubuntu 10.04

1. install the software package
$ Sudo apt-get install apache2 libapache2-svn subversion

2. Configure apache (httpd. conf)

DAV svn
SVNPath/COMPANY/svnrepo/PROJECT1
AuthType Digest
AuthName "Subversion repository"
AuthUserFile/COMPANY/conf/credits/credit. digest
Require valid-user
AuthzSVNAccessFile/COMPANY/htdocs/svnadmin/acls

Note: You need to enable the auth_digest module.
$ Sudo a2enmod auth_digest

3. Edit the permission management acls
[Group]
Admin = ding. baohua
Project = ding. baohua, paul
[/]
* = R
@ Admin = rw
@ Project = rw

4. Edit the authentication File
Use adduser. sh to create a user or change the password

#! /Bin/sh-e
If! [$ #-Eq 1]; then
Echo "Usage: $ (basename $0) USERNAME"
Echo "Example: $ (basename $0) paul"
Echo
Exit 1
Fi

Htdigest credit. digest "Subversion repository" $1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.