1. download the file,
Download the latest version of the Subversion Installation File TortoiseSVN-1.5.4.14259-win32-svn-1.5.3.msi
Download the "Subversion Windows Service" package or the installation Setup-Subversion-1.5.3.msi
Download tortoisesvn shell integration Utility
2. Install the Subversion server
Since I downloaded the installation version, installProgramSystem variables will be automatically set after installation. If you download the zip version, you need to manually set the system variables.
You can install the. MSI version directly. Install it to c: \ Program Files \ subversion (which can be designed by yourself)
First, create the svn repository (repository)
Svnadmin create E: \ svnroot \
After repository is created, several files and folders are generated under the directory. The dav directory is the directory provided for Apache and mod_dav_svn to store internal data; the DB directory is all version-controlled data files; the hooks directory stores the directory of the hook script file; locks is used to hold the directory of the data locked by the Subversion file library, and is used to track the client that accesses the file library; the format file is a text file with only one integer in it, indicating the version number configured in the current file library;
3. Configure the svn Server
(This location is where you create the repository F: \ svnroot)
Open the/CONF/directory, open svnserve. conf, and find the following two sentences:
# [General]
# Password-DB = passwd
# Anon-access = none
# Auth-access = write
# At the beginning of each line, where the second line specifies the name of the authentication file, that is, passwd file. Anon-access = none is inaccessible to anonymous users and must have a user name and password. (Note: This is the problem. You must note that the format cannot be blank after the comment is removed)
Open the passwd file and set
# [Users]
# Harry = harryssecret
# Sally = sallyssecret
The format is "username = password". If you can insert a line: Admin = admin888, you can add a user with the username admin and password admin888 to the system.
4. Run the svn Server
Run SVN Service
AvailableNet stop svnserviceStop orNet start svnserviceYou can also start the service in sevices. MSC.
5. access through a client
Format: SVN: \ Server IP