1. My environment is Windows 2003 or Windows XP
Install Setup-subversion-1.6.0.msi
Tortoisesvn-1.8.4.24972-win32-svn-1.8.5.msi
Subversion installation configuration, double-click to run the installation, first installed Subversion official files, after the installation is completed will automatically add%subversion%\bin to the PATH environment variable. That means you can now use Subversion at the command line. Enter cmd, input svn--version, look at the effect of the operation.
Then install the TORTOISESVN client, which is a very convenient and easy to use client. All the way down. Install completed, then ask if you reboot, reboot is to make TORTOISESVN working directory style effective, select reboot on it.
2. Server-side, build version library (Repository)
Run svnadmin create E:\svn\svn_repo under cmd
After execution, a Svn_repo version library will be generated under the SVN folder, or it can be said to be a project solution that generates a lot of related files.
3. Modify SVN service-side configuration
(1) Open the E:\svn\svn_repo\conf directory with a text editor and modify the svnserve.conf:
To
(Cannot have spaces at the front)
Anon-access = Read
auth-access = Write
Password-db = passwd
(2) Notepad opens the passwd.conf file in the same directory (if not new, the file does not have a suffix), modified or added as:
[Users]
# Harry = Harryssecret
# sally = Sallyssecret
admin = 123123
Description: User name is admin, password is 123123
(3) User Rights configuration, open the same directory under the AUTHZ.C
onf file to add readable writable permission for user admin:
[/]
admin = RW
4. Start Service
Svnserve-d-R E:\svn\svn_repo
Indicates that the service is rooted in E:\svn\svn_repo
5.import Code
Establish Project/test1 in E:\svn\svn_repo
Put the code under the Test1.
The code can be viewed through SVN://127.0.0.1/POJECT/TEXT1
Svnserve.conf: (front cannot have spaces) if there is a space or a configuration error, you cannot access through the SVN protocol