In Windows, configure the svn server. In Windows, how can we continue our SVN journey without changing the operating system we often use, while combining the dynamic methods, we feel that these contents are very close to the application and configuration of Svn in windows. 1. download the file and download the latest version of subversion. here I select svn-1.4.5-setup.exe to download the "Subversion Windows Service" package to download tortoisesvn shell integration utility 2. when the Subversion server is installed, the setup.exe version is downloaded. After the installation program is installed, the system variables are automatically set. if you download the zip version, you need to manually set the system variables. you can install setup.exe directly. install to D:/program files/subversion first create the svn store Svnadmin create F:/SVN/repository after creation, several files and folders are generated under the directory. The dav directory is provided to Apache and mod_dav_svn, let them store internal data. The DB directory is the data file of all version control; the hooks directory is the directory of the hook script file; locks is used to place the directory of the data locked by the Subversion file library, the client used to track access to the file library. The format file is a text file with only one integer in it, indicating the version number of the current file library configuration; 3. configure the svn server (this location is where you create the repository F:/SVN) to open the/CONF/directory and open svnserve. conf finds the following two sentences: # [general] # password-DB = passwd # anon-access = none # auth-access = write # At the beginning of each line, where the second row is Specify the name of the authentication file, that is, the passwd file. Anon-access = none is not accessible by anonymous users and must have a user name and password. (Note: This is the problem. You must note that the format cannot be empty after the comment is removed.) Open the passwd file as well, set # [users] # Harry = harryssecret # Sally = sallyssecret to "username = password". If you can insert a line: Admin = admin888, add a username admin to the system, the password is admin888. run the svn server and run the svn service. Run svnserve -- daemon -- root F:/SVN to start the service. -- daemon can be abbreviated as-D and -- root can be abbreviated as-R, you can create a batch processing file and place it in the Windows Startup Group to run the svn service on startup (Note: This is a temporary service and the window cannot be closed after the command is executed) you can use the background service to set Automatic execution upon startup. D:/program files/subversion/bin> SC create svnservice binpath = "D:/program files/subversion/bin/svnserve.exe -- service-R F: /SVN ", you can use net svnservice stop or start to start the service, or in sevices. MSC to start. 5. Client Access format: SVN: // server IP protocol svnserve-based server, permission file authz configuration FAQ and answers recently in my subversion Forum (http://www.iUseSVN.com/bbs) some people often mention the following question: why does my client have no write permission? Why does my permissions not work? Summary of their configuration, found that svnserve is used as the server, all in svnserve. the reasons for using the authz-DB option in conf may be as follows: 1. When configuring authz, do not pay attention to the directory specified by the svnserve startup parameter-R. There are two cases: A:-R is directly specified to the version Library (called the single-database svnserve method). For example, there is a library project1, located at D: /SVN/project1 run the following command to start svnserve [copy to clipboard] [-] Code: svnserve-D-r d:/SVN/project1. In this case, one svnserve can only work for one version library. If the authz file is configured as follows, this is an error. [copy to clipboard] [-] Code: [groups] admin = user1 Dev = user2 [project1:/] @ admin = RW @ Doc = R should be configured as [copy to clipboard] [-] Code: [groups] admin = user1 Dev = user2 [/] @ admin = RW @ Doc = R because [project1:/] indicates the library The root directory of project1, but according to the above startup parameters, there is no library concept. You can use a URL like this: SVN: // 192.168.0.1/to access the parent directory (called multi-database svnserve) specified by project1 B:-R to the version library. Similarly, there is a library project1, located in D:/SVN/project1. If you use the following command to start svnserve [copy to clipboard] [-] Code: svnserve-D-r d:/SVN, A svnserve can work for multiple version libraries. If you want to restrict the specified directory of a specified library, you should specify a specific library, such as [copy to clipboard] [-] Code: [groups] admin = user1 Dev = user2 [project1:/] @ admin = RW @ Doc = R if you still use [/], it indicates the root directory of all databases, similarly, [/src] indicates that the src directory under the root directory of all libraries uses a URL similar to this: SVN: // 192. 168.0.1/project1 can access a URL like project1: SVN: // 192.168.0.1/project2 to access project2 2. When permission control is performed on the Chinese directory, the permission file authz is not changed to UTF-8 format. SVN uses UTF-8 encoding for non-English file names and directory names. to properly control the Chinese directory, you should use UTF-8 without Bom. How to convert the default file to UTF-8, I am using the ultraedit menu "ASCII to UTF-8 (UNICODE editing )". In the configuration of ultraedit, you can set whether BOM this article from the csdn blog, reprint please indicate the source: http://blog.csdn.net/bluesmile979/archive/2009/01/06/3719511.aspx