SVN server build binary file http://subversion.apache.org/packages.html
I downloaded the sliksvn, all the same, after the installation,
Create a directory manually, such as D:\svnDB\svnrepository
Run Svnadmin create d:\svnDB\svnrepository on the DOS command line
You'll see it under the svnrepository.
which
Conf directory storage configuration information;
The DB directory is all version controlled data files;
Hooks directory where the hook script file is placed;
Locks is used to place the Subversion file Vault lock Data directory, used to track access to the file repository of the client;
The format file is a text file that contains only an integer that represents the version number of the current vault configuration;
Configuration
Implementation of subserver with self-service platform
Open the/conf/directory, open the svnserve.conf to find the following line, and remove the # from the beginning of each line: ( pay special attention to not leaving the front of the row blank )
[General]
anon-access= read #保证只有认证用户可以访问, which is to turn off anonymous access
Auth-access= Write #通过认证的使用权限
password-db= passwd #指定了用户密码文件
Open the/conf/directory, open the passwd file, add users, one line, storage format "User name = password"
[Users]
# define User Information
Harry = Harryssecret
Sally = Sallyssecret
Create and start SVN services
Open a DOS window, use SC to create a Windows service, point the current directory to the bin directory of Subversion, and enter:
SC create Svnservice binpath= "D:\SlikSvn\bin\svnserve.exe--service-r D:\svnDB" displayname= "Svnservice" depend= Tcpip Start=auto (Special note = There are spaces behind)
Then enter the command "svnserve-d--listen-port 3690-r d:\svn" Here "D:\svnDB" is the repository path you created in SVN, then execute the command, remember that the window cannot be closed, and the SVN service stops after it is closed.
The server can be accessed by entering svn://127.0.0.1/svndb/svnrepository in the browser
SLIKSVN of SVN Server Setup