Build the SVN environment in Linux and svn in linux

Source: Internet
Author: User

Build the SVN environment in Linux and svn in linux

1. Install SVN

Yun install-y subversion

Root permission Installation

 

Installed successfully

 

Verify

Svnserve -- version

 

 

Create SVN version Library

Cd/home/kuma/download

Mkdir svn

Svnadmin create/home/kuma/svn/davesvn -- davesvn indicates the version library name.

 

Configuration

The conf file of the version library contains three configuration files.

Authz permission configuration file

Passwd user name and password file

Svnserve. conf svn service configuration file

 

 

Modify svnserve. conf

Anon-access = none
Auth-access = write
Password-db =/home/kuma/svn/davesvn/conf/passwd
Authz-db =/home/kuma/svn/davesvn/conf/authz

 

Modify passwd

 

 

Modify authz

 

Start SVN

Svnserve-d-r/home/kuma/document/svn

 

Check whether startup is successful

Ps-ef | grep svn

 

Started successfully

 

2. Connect to SVN in windows

Connect using TortoiseSVN

 

3. SVN connection Solution

1) unable to connect to the host "192.168.XXX.XXX": the connection failed because the connection Provider failed to respond correctly after a period of time or the host to be connected did not respond.

Perform the following operations on the premise that ping Is Enabled:

 

2) check that the authentication configuration is invalid

The configuration may be incorrect in the authz, passwd, and svnserve. conf files.

 

3) The SVN Commit command indicates that the file "*** \ svn \ davesvn \ db \ txn-current-lock" cannot be opened. The file has insufficient permissions and cannot be written or submitted.

Run chmod-R 777 db in the cd davesvn path.

 

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.