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



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


VI passwd


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

VI svnserve. conf


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

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.