Install Svn in centos 6.3

Source: Internet
Author: User

 

1. Yum install SVN

2. Create a repository

Mkdir Liu // Liu is the repository folder.

Svnadmin create Liu

After execution, the Liu folder contains several more files, as shown below:

Conf dB format hooks locks readme.txt

3. Edit several files under Conf.

VI authz

Add

[/]

Shin = RW // indicates that the shin user has read and write permissions on the warehouse root.

 

VI passwd

Add

Shin = 123456 // indicates that the password for adding a user Shin is 123456.

VI svnserve. conf

Set

Anon-access = read
Auth-access = write

Password-DB = passwd

Authz-DB = authz

Realm = Liu // remove the rows #. The front side cannot be a space. Finally, this realm = Liu refers to the warehouse.

4. Start

Svnserve-d-r/usr/local/SVN/Liu // specify the specific location of the svn Repository

 

Then you can use SVN: // ip to access it. If not, you can check the firewall settings.

I don't know why I was always unsuccessful at the beginning. I can use it for some reason and record it.

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.