Source: http://www.cnblogs.com/wangwei123/archive/2010/10/07/1842455.htmlthank you!
Content Description: when several people develop a project at the same time in the project, we need a source code version management tool to manage our source code. Therefore, we need to know how to build a source code management tool server, next, let's take four steps to complete the required work.
Perform the following four steps:
Step 1: Download the svn server Tool
Step 2: Download the svn client Tool
Step 3: Build an SVN Server
Step 4: Use a client tool to obtain, submit, modify, and delete files
Step 1: First you need to download SVN server tool, the following provides a download page that contains the latest version, you can download: http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 11151 & expandfolder = 11151 & folderid = 74
You can also click here to download the latest version 1.6.6: Setup-Subversion-1.6.6.msi
Step 2: In addition to downloading the server tool, you also need to download a client tool, which contains the latest download page: http://tortoisesvn.net/downloads,
You can also click here to download the latest version of 1.6.11: TortoiseSVN-1.6.11.20210-win32-svn-1.6.13.msi
If you do not like the tool in full English, you can download the Chinese package if you need Chinese:
Simplified Chinese package: http://downloads.sourceforge.net/tortoisesvn/LanguagePack_1.6.11.20210-win32-zh_CN.msi? Download
Traditional Chinese package: http://downloads.sourceforge.net/tortoisesvn/LanguagePack_1.6.11.20210-win32-zh_TW.msi? Download
Step 3: After the download, you can install the server and client tools on your computer. By the way, you can install the Chinese package (if needed). Then you can create the svn server directory under a directory, here, my directory is: F: \ svn_server. Then, right-click the svn_server folder and choose => tortoisesvn => Create
Repository here, the above steps have been created. There are several folders after creation. Find the conf folder to open it, which contains authz, passwd, and svnserve. conf files, first open svnserve. CONF file, search for the content: Password-DB = passwd. After finding the file, remove the previous # And remove spaces (important ), here, the password database file is set as the password file. Open the password file and add a user name and password to each line. For example, Lihua = 123456 adds a user with the username Lihua and password 123456. Another step is to start the svn service. Start Menu => run => enter the command: cmd => enter the command: svnserve.exe-d-r F: \ svn_server and press enter (you cannot close it, otherwise, the service is disabled.) Step 4: Check whether the svn server is successfully built. Create a directory, such as E: \ codeproject, in this folder.
Right-click the menu => SVN checkout, and a window will pop up. You need to enter the server address. Because this is tested on the local machine, localhost or 127.0.0.1 is used to represent the IP address or domain name, if it is a LAN or Internet server, rather than your local server, you need an IP address or domain name. Enter SVN: // 127.0.0.1. A window is displayed. Click OK to enter the user name and password, enter Lihua, 123456, the server data is obtained. Since the server has just been created and no data is available, it is null. Here you can submit the data to the server. You can copy some files from other places to the E: \ codeproject directory, right-click the menu => tortoisesvn => Add, select Add file, right-click the menu => SVN commit, and select submit file. After the file is submitted to the server, you can modify the file locally. If the file appears red, it is changed. You can submit the file through SVN commit or obtain the latest file through SVN update. In addition, because the command line window cannot be closed after the svn service is started, we need to add it to the window service so that this window does not need to be opened every time, and if the computer restarts, the window service can be automatically started. The implementation steps are as follows: assume that the Subversion is installed on D: \ Program Files \ subversion, and the version library is placed on F: \ svn_server, you can use the following command to install the service,
SC create SVN binpath = "\" D: \ Program Files \ subversion \ bin \ svnserve.exe \ "-- service-r \" F: \ svn_server \ "" displayname = "Subversion server" depend = TCPIP start = auto, then you can find the Subversion server service in the management => service and start it. /*************************************** ******************** **************************************** **/Postscript: my next is the latest Windows subversion 1.7.5 Web site: The http://www.wandisco.com/subversion/download#windows was successfully created as described above.