Reference 1: For details about how to install and configure, see here. Reference 2: For details about some basic svn operations, see here. Reference 1 mentions the configuration of/etc/apache2/mod-enabled/dav_svn.conf. Note that & lt; Location/svn & gt; is a root configuration element, there is an & lt;/Location & gt; element at the end of the file dav_svn.conf, but it is also commented out. Remember to uncomment it. Introduction
Reference 1: For details about how to install and configure, see here.
Reference 2: For details about some basic svn operations, see here.
The configuration of/etc/apache2/mod-enabled/dav_svn.conf mentioned in reference 1 should be noted that Is a root configuration element. There is a root configuration element at the end of the dav_svn.conf file. Element, but it is also commented out. Remember to drop it uncomment.
In reference 2, when initializing svn repository, two commands are mainly used:
Java code
Svnadmin create library directory
To create the svn library.
The other is
Java code
Svn import directory to be checked file: // library directory
Import the local file to the created library directory.
After configuration, you can access svn through a browser, such as http: // localhost/svn/. You can see information such as subversion and version 0.
If a class such
Reference
Can't open file '/home/xx/applications/svn_server/xx/txn-current-lock': Permission denied
This error occurs because the user running apache does not have the write permission on the created library directory. Therefore, you need to perform the authorization. The policy can be to give the library directory chown to the apache running user, or add the apache running user to the group where the user created in the library directory is located, and then assign the group write permission, run the chmod 775 command.
View who runs apache2
Java code
Ps aux | grep apache
In Ubuntu, it is usually www-data.