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.