For 1.4.0 the svn, only with Apache 2.0
Otherwise, Apache will not start service from http://www.svn8.com/svnpz/20080516/604.htm
Windows to configure and use svn-1.4.6 + Apache2.2.6 + Eclipse version control environment
2008-05-16 08:12:34 Source: Author: [Big Middle Small】 Comments: 2 Hits:
We had previously been used as a local version control system cvs, heard of svn, but has been less concerned about it, because I need the function cvs can do, why should their torment yourself? Until one day, I found the file on SuSe and then submitted extracted version is inconsistent even when I decided that the move to svn environment.
1 Download svn-1.4.6, http://subversion.tigris.org/files/documents/15/41077/svn-win32-1.4.6.zip
2 Download apache-2.2.6, http://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.6-win32-x86-openssl-0.9.8e.msi
3 to install apache to C: \ Program Files \ Apache Software Foundation \ Apache2.2
4. Extract svn-win32-1.4.6.zip to C: \ svn-1.4.6, copy intl3_svn.dll, libdb44.dll to C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin; copy mod_authz_svn . so, mod_dav_svn.so to C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ modules
5 Set the PATH environment variable, add C: \ svn-1.4.6 \ bin
6. Create svn repository root path C: \ svnroot, create a resource library
C: \> svnadmin create C: \ svnroot \ repos
7 Modify C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ httpd.conf
# Open the DAV remove the shield, as follows:
LoadModule dav_module modules / mod_dav.so
LoadModule dav_fs_module modules / mod_dav_fs.so
Also add the following two lines:
LoadModule dav_svn_module modules / mod_dav_svn.so
LoadModule authz_svn_module modules / mod_authz_svn.so
8. Create a user authentication password
C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin> htpasswd-c passwd allen
Allen is the only user of them myself, 2 After entering the password, generate the passwd file. Note that access control, probably because of insufficient permissions to read and write, can not be generated.
Copy passwd to C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ svn.passwd
(In fact, with svn.passwd passwd is the same, svn.passwd name can easily change, but here the author's habit of writing in accordance with it, the same below)
9. Write access control file, I do not care about this file, just copy one of the following:
root = allen
@ Root = rw
Access to copy the file C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ conf \ svn.access
10 In httpd.conf add the following at the end of
SVNParentPath C: / svnroot
AuthName "Subversion repositories"
AuthzSVNAccessFile "C: / Program Files / Apache Software Foundation/Apache2.2/conf/svn.access"
AuthUserFile "C: / Program Files / Apache Software Foundation/Apache2.2/conf/svn.passwd"
11 with the Windows service management tool, restart Apache2.2 service. In the browser by typing http://localhost/svn/repos, testing svn service that they have not configured successfully. If successful, it should be little to celebrate
12 Open Eclipse, install Subeclipse svn plugin.
Help-> Software Updates-> Find and Install-> Search for new features to install-> Next-> New Remote Site, enter
Click Finish, and then download, then all the way to installation, restart Eclipse
13 Configuring Eclipse svn, Windows-> Preferences-> Team-> SVN, the SVN interface to set JavaSVN
14 Create a new Java project, then right-Team-> Share Project-> SVN
Version control can be carried out
This article comes from CSDN blog, reproduced, please indicate the source: http://blog.csdn.net/hp9016/archive/2008/11/07/3245349.aspx