Set up SVN: Apache + subversion is being updated ....

Source: Internet
Author: User

Two days ago, I set up an SVN summary as follows:

 

1. Download Apache HTTP Server from www.apache.org

2: http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91 Subversion

3. install Apache server and subversion.

 

Note: Check whether mod_dav_svn.so and mod_authz_svn.so exist in the modules in the Apache installation directory.

If the Subversion directory does not exist, copy mod_dav_svn.so and mod_authz_svn.so in the bin directory to the modules subdirectory of Apache.

 

4. Modify the httpd. conf file of the Apache subdirectory Conf.

Make sure that # loadmodule dav_fs_module modules/mod_dav_fs.so and # loadmodule dav_module modules/mod_dav.so are not commented out

Make sure that loadmodule dav_svn_module modules/mod_dav_svn.so and

Loadmodule authz_svn_module modules/mod_authz_svn.so

 

V. Create the root directory of the source code library, for example, E: SVN.

 

6. Create a database under E:/SVN.

Enter svnadmin create -- FS-type bdb testrepository in the command line to create a database in bdb format (make sure the current directory has been switched to E:/SVN /)

Enter svnadmin create -- FS-type fsfs testrepository in the command line to create a database in the fsfs format (ensure that the current directory has been switched to E:/SVN)

7. Add the following code at the end of httpd. conf (which can be found in the Apache subdirectory conf ).

<Location/SVN>
Dav SVN
Svnparentpath E:/SVN
Authtype basic
Authname "Subversion repositories"
# Authuserfile passwd
# Authzsvnaccessfile svnaccessfile
Require valid-user
</Location>

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.