CentOS SVN Server Setup

Source: Internet
Author: User

SOURCE directory:/home/user/project

Project Name: Project

Project Catalog:/source/svn/project

Access Address: Svn://ip/project

First, install SVN
Yum Install Subversion
Two, SVN server configuration 1. Create the SVN root directory
mkdir /SOURCE/SVN
2. Add a Project
Svnadmin Create/source/svn/project
3. Import the project initial document (can save)
file:///source/svn/project-m "Init project"
4. Configure the Engineering user

Enter the configuration directory for the project:

Cd/source/svn/project/conf

The following altogether three files: Authz passwd svnserve.conf

passwd: The user information is stored inside, the basic format is: User = passwd

Authz: Store the user's group information, and the access rights of each group

SVNSERVE.CONF: Store the basic configuration of the server (described below)

The configuration for this example is as follows:

4.1 passwd inside Add user
[users]  = pm123
4.2 Authz Configuring User rights
[groups] #添加一个分组 (In fact, you can add multiple, each group can have multiple users ,= pm# The project's permissions configuration [project:/]   = RW
4.3 svnserve.conf configuration (can default)
= = = =/source/svn/project/conf/authz  
Third, start the SVN server
Svnserve-d-R/SOURCE/SVN
Four, pull the replacement code
SVN Co SVN://ip/project

CentOS SVN Server Setup

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.