Build a subversion server using Debian

Source: Internet
Author: User
Use Debian to build the subversion server-Linux Release Technology-Debian information. The following is a detailed description. Installing subversion under Debian testing is quite simple. Install the software first (all of which are assumed to be super users ):

Aptitude install subversion

Create a local svn repository. Assume that all svn projects are placed under/var/local/svn, and each project has a unique directory.

Mkdir-p/var/local/svn/proj1
Mkdir-p/var/local/svn/proj2
Svnadmin create/var/local/svn/proj1
Svnadmin create/var/local/svn/proj2

The svn server has many connection methods. In the past, I used to connect to the server through ssh. In this case, no special configuration is required. You only need to set the read and write permissions for the directory, it is very convenient for a single user. However, if multiple users work collaboratively, ssh can only be used for permission control through the operating system. Therefore, user management is very troublesome. Therefore, this attempt uses the http connection method to manage user permissions on the web server.

To use http, install apache first:

Aptitude install apache2

Next, you need to install the svn component:

Aptitude install libapache2-svn

Then apache needs to have the permission to read and write the svn Repository:

Chown-R www-data: www-data/var/local/svn

You also need to modify the configuration file/etc/apache2/mod-available/dav_svn.conf:
QUOTE:
Related Article

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.