A few days ago, I wanted to build my own SVN server. I found the following document on the Internet and the svn server set up according to the steps described in this document runs normally. We recommend you to anyone who wants to create an SVN server. The full text is as follows --
Build SVN Server
To build an SVN server in Windows:
1. install Apache
2. Install Svn in C:/program files/subversion.
3. After installing tortoise, you will be prompted to restart the computer. After restarting, you will be prompted to install the Simplified Chinese Language Pack. Then, right-click any directory and you will find some svn-related menus, select tortoisesvn, select the sub-menu "Settings", and set the language to "Chinese (simplified )".
4. Check whether mod_dav_svn.so and mod_authz_svn.so are available in C:/program files/Apache Group/apache2/modules. (If not, copy it from C:/program files/subversion/bin .)
5. Check whether libdb52.dll already exists in C:/program files/Apache Group/apache2/modules: /program files/subversion/bin .)
6. Search for C:/program files/Apache Group/apache2/CONF/httpd. # loadmodule dav_fs_module modules/mod_dav_fs.so In the conf configuration file, remove the comment #, and check whether loadmodule dav_svn_module modules/modules and loadmodule authz_svn_module modules/modules are available at the end of the loadmodule configuration section.
7. Create a file library. For example, create D:/svnhome on drive D, right-click the svnhome directory, select tortoisesvn from the menu that appears, and then select the sub-menu "Create File library here ", select the fsfs mode.
8. Open the D:/svnhome/CONF/svnserve. conf file and remove the # Before [general] and password-DB = passwd. Then open the passwd file in the same directory to set the account. Remove the # sign before [users] and write a row of user = pass. It indicates that the password of the user is pass.
9. In the DOS console, run cd c:/program files/subversion/bin, and then run svnserve-D-r d:/svnhome to start the svnserve service.
10. Open "my computer", right-click the directory for version control, select tortoisesvn, and then select Sub-menu "import... ", set" repository URL "to SVN: // localhost. After you click OK, the system will prompt that the file is being imported.
So far, the svn server configuration is complete.
-------------------------------------------------------------------------
Download Apache: Go to httpd.apache.org/download.cgi
SVN download: In subversion.tigris.org/servlets/projectdocumentlist
Tortoise download: In prdownloads.sourceforge.net/tortoisesvn/tortoisesvn-1.3.2.5840-svn-1.3.0.msi
Download tortoise Simplified Chinese Language Pack: In prdownloads.sourceforge.net/tortoisesvn/?agepack_1.3.2_zh_cn.exe