1. Download packages es install package from http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91
2. Install the Windows package and change default install directory to C:/SVN/
3. Create a source repository.
> Cd C:/SVN/bin
> Svnadmin create "C:/SVN/repos"
4. Configuration Subversion
Uncomment the following lines in the conf/svnserve. Con
Anon-access = none
Auth-access = write
Password-DB = passwd
Add some users to CONF/passwd file, for example:
User1 = passwd1
User2 = passwd2
5. Register subversion as Windows service.
> SC create svnserver binpath = "C:/SVN/bin/svnserve.exe -- service-R C:/SVN/repos" depend = TCPIP start = auto
If cannot start the svnserver automation, run the following command.
> Net start svnserver
6. Create a project in repository.
> Set svn_editor = C:/Windows/system32/notepad.exe
> SVN mkdir SVN: // localhost/myproject
7. It's conventional to have/trunk,/branches, And/tags subdirectories for each project.
> SVN mkdir SVN: // localhost/myproject/trunk
> SVN mkdir SVN: // localhost/myproject/branches
> SVN mkdir SVN: // localhost/myproject/tags
8. Test. Install a SVN client, e.g. tortoisesvn, and check out myproject that we created.
Here, useSVN
: // <Servername>/myproject/for the repository URL.