Ubuntu10.10 configure the SVN multi-version Library

Source: Internet
Author: User
Tags addgroup
1. Installation Package sudoapt-getinstallsubversion2. Add svn management user and subversion group sudoaddusersvnusersudoaddgroupsubversionsudoaddgroupsvnusersubversion multi-version library configuration as follows, there are 2 versions of oa and interactive create version library directory/var/svndata/cod

1. Installation Package

Sudo apt-get install subversion

2. Add svn management users and subversion groups

Sudo adduser svnuser

Sudo addgroup subversion

Sudo addgroup svnusersubversion

The multi-version library configuration is as follows: there are two versions of oa and interactive

Create a version library directory/var/svndata/codeauto/

Run the following command in the/var/svndata/directory:

Sudo svnadmin create oa

Sudo svnadmin create interactive

Modify Directory Permissions

Sudo chown-R svnuser: subversion/var/svndata/oa/

Sudo chown-R svnuser: subversion/var/svndata/interactive/

Delete passwd and authz in oa and interactive and COPY them to the/var/svndata/codeauto/directory.

Configure svnserve. conf as follows:

  1. ### This file controls the configuration of the svnserve daemon, if you 
  2. ### Use it to allow access to this repository. (If you only allow 
  3. ### Access through http: and/or file: URLs, then this file is 
  4. ### Irrelevant .) 
  5. ### Visit http://subversion.tigris.org/for more information.
  6. [General] 
  7. ### These options control access to the repository for unauthenticated 
  8. ### And authenticated users. Valid values are "write", "read ", 
  9. ### And "none". The sample settings below are the defaults.
  10. Anon-access = read
  11. Auth-access = write 
  12. ### The password-db option controls the location of the password 
  13. ### Database file. Unless you specify a path starting with /, 
  14. ### The file's location is relative to the directory containing 
  15. ### This configuration file. 
  16. ### If SASL is enabled (see below), this file will NOT be used. 
  17. ### Uncomment the line below to use the default password file.
  18. Password-db = passwd 
  19. ### The authz-db option controls the location of the authorization 
  20. ### Rules for path-based access control. Unless you specify a path 
  21. ### Starting with a/, the file's location is relative to 
  22. ### Directory containing this file. If you don't specify 
  23. ### Authz-db, no path-based access control is done. 
  24. ### Uncomment the line below to use the default authorization file.
  25. Authz-db = authz 
  26. ### This option specifies the authentication realm of the repository. 
  27. ### If two repositories have the same authentication realm, they shocould 
  28. ### Have the same password database, and vice versa. The default realm 
  29. ### Is repository's uuid. 
  30. # Realm = My First Repository
  31. [Sasl] 
  32. ### This option specifies whether you want to use the Cyrus SASL 
  33. ### Library for authentication. Default is false. 
  34. ### This section will be ignored if svnserve is not built with Cyrus 
  35. ### SASL support; to check, run 'svnserve -- version' and look for a line 
  36. ### Reading 'cyrus SASL authentication is available .' 
  37. # Use-sasl = true 
  38. ### These options specify the desired strength of the security layer 
  39. ### That you want SASL to provide. 0 means no encryption, 1 means 
  40. ### Integrity-checking only, values larger than 1 are correlated 
  41. ### To the cipher key length for encryption (e.g. 128 means 128-bit 
  42. ### Encryption). The values below are the defaults. 
  43. # Min-encryption = 0 
  44. # Max-encryption = 256
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.