Linux CentOS 6.5 x64 SVN server Setup

Source: Internet
Author: User

Linux CentOS 6.5 x64 SVN server Setup Steps

1. Install Subversion

Yum Install Subversion

Note: The installation requires root privileges, otherwise you will be prompted need to be root to perform the This command. English is also very simple, here is not much nonsense.

2. See where Subversion is installed

RPM-QL Subversion

We see an executable command in the bin directory:

You can verify that the installation was successful by looking at the SVN version, and enter the following command:

SVN--version

3. Determine the SVN version inventory placement, I choose to use/var/svn/repository

Mkdir-p/var/svn/repository

4. Create a repository at the specified location (/var/svn/repository)

Svnadmin create/var/svn/repository

After the repository is successfully created, the following files are generated in the repository directory:


5. Enter the Conf directory (the SVN repository configuration file) Authz--File is a permission control file passwd--Account password file svnserve.conf--SVN service configuration file

6. Configuration

Set the account password to open the passwd file

Vim passwd

Add a line under the [users] block username = password, where the format is: User name = password, for example: admin = password


Set permissions to open the Authz file

Vim Authz


Added at the end:

[/]

admin = RW

Description

[/]--Version Coogan directory

admin = rw--Admin user has read and write permission

User group set up for the same reason, let's do our own research, here is not much to say.


Setting up the configuration file svnserve.conf

Vim svnserve.conf

Open a few lines in the red box comment: anon-access = read #匿名用户可读auth-access = write #授权用户可写password-db = passwd #使用哪个文件作为账号文件authz-db = Authz #使用哪 Files as permission files Realm =/var/svn/repository # certified space name, the directory where we originally set up the repository

7. Start the SVN repository

Svnserve-d-r/var/svn/repository/

8. Use

Address: svn://127.0.0.1

Default port: 3690


If there is no place to welcome everyone to spend, exchange study.

Linux CentOS 6.5 x64 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.