1. Software Download
Download the SVN1.6 server program.
Client [TortoiseSVN-1.6.9.19725-win32-svn-1.6.12.msi]
Http://www.svnclub.com/index.php? Q = node/74 or http://dl.dbank.com/c0a6uapex8
Server [Setup-Subversion-1.6.9.msi]
Http://www.svnclub.com/index.php? Q = node/73 or http://dl.dbank.com/c0scm873jk
2. Install the server on the server and client, directly run the installation program, and install it as prompted.
3. Create a SVN1.6 version Library (Repository)
Right-click the Directory D: \ svn \ repository and choose TortoiseSVN> Createrepositoryhere. Then you can select the version library mode. The default fsfs mode is used here, then a series of directories and files are created.
4. Configure SVN1.6 users and permissions
Open the D: \ svn \ repository \ svnserve. conf file, and set the content without # Before the [general] section:
Anon-access = none
Auth-access = write
Password-db = passwd
Open the passwd file in the same directory to set the account:
Similarly, set the content without the # sign before the row in the [users] section, for example:
Admin= 123456
5: Create a server --- cmd Input
SC create svnservice binPath = "C: \ Program Files \ Subversion \ bin \ svnserve.exe -- service-r D: \ svn \ repository" DisplayName = "subversion" depend = Tcpip start = auto
Start the server
Net start subversion
6. Import the project
Right-click the Directory and choose TortoiseSVN, >>> "Import... ", set" file library url "to svn: // After localhost is determined, the system will prompt that the file is being imported. if other machines want to access the svn Server IP address, such as svn: // 192.168.1.1
7. Export a project
For example, d: \ project >>> select "SVN fetch..." and set "file library url" to the IP address of svn: // 192.168.1.1 server. Set the admin password to 123456.
8: problem:
Error 2: system cannot find the specified or error 3: system cannot find the specified
Solution:
Go to the Registry and find HKEY_LOCAL_MACHINE/SYSTEM/CONTROLSET001/Services/svnservice. After finding this, select an ImagePath and change its data value to the correct executable file path.
Command:
Create a service:
SC create svnservice binPath = "E: \ IDE \ Subversion \ bin \ svnserve.exe -- service-r E: \ svn \ repository" DisplayName = "subversion" depend = Tcpip start = auto
Start the service:
Net start subversion
Author: heng_ji