"Linux" SVN environment configuration

Source: Internet
Author: User
Tags svn

Ubuntu Install SVN environment configuration

1. Installation
sudo apt-get Install Subversion

The installation process requires data "Y"

2. SVN location Selection

After the installation is complete, select the SVN directory location and place it under/HOME/SVN

sudo mkdir/home/svn

To start creating a repository:

cd/home//home/svn (create version repository)
3. Permissions Configuration

Need to modify the Conf directory of the three configuration file Authz; passwd Svnserve.conf

3.1 svnserve.conf File modification
1 [General] 2 #匿名用户不可读 3 anon-access = None  4  5#权限用户可写 6 auth-access = Write c11> 7  8#密码文件为passwd  9 password-db = passwd11  #权限文件为authz authz-db = Authz
3.2 passwd File modification

This file is used to configure the password for the SVN login account.

Configure the user name and password configuration format in [users]: User name = password

1 [Users] 2 3 Username=password
3.3 Authz File Modification

[groups] Configuring grouping conditions

1 @groupname = Username,username

Configure operation permissions for a directory

1 [/]@groupname =RW
*=r

[/] represents the SVN root directory

@grooupname =RW indicates a read and write operation to the GroupName user

* indicates that only read operations are available to users other than GroupName

4. SVN server Configuration 4.1 turn on SVN server
1 sudo svnserve-d-r/home/svn/
4.2 Shutting down the SVN server
1

"Linux" SVN environment configuration

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.