A Manual How to install subversion (svn) server under Window OS.
A) Download Subversion
You'll need the latest version of..
- the Windows binary packege
- The SVN Client GUI such as the TortoiseSVN shell integration utility or the Subversive integration for Eclipse
B ) Install Subversion
- Install The Binary file (svn-1.4.6-setup.exe)
C) Create a Repository
- Open a command prompt and type
svnadmin create "c:\Documents and Settings\Subversion Repository">
- Navigate to the folder we just created. Within that folder, uncomment the following lines in the /conf/svnserve.conf file:
[general]
anon-access = read
auth-access = write
password-db = passwdNext, uncomment these lines in the /conf/passwd file:
[users]
harry = harryssecret
sally = sallyssecret
D) Verify that everything is working
- Start the subversion server by issuing this command in the command window:
svnserve --daemon --root "C:\My Subversion Repository"
- Create a project by opening a second command window and entering this command:
svn mkdir svn://localhost/myproject
It's a standard Subversion convention to have three folders at the root of a project:
/trunk
/branches
/tags
- You'll now be prompted for credentials. In my case I was prompted for the administrator credentials as well:
Authentication realm: 0f1a8b11-d50b-344d-9dc7-0d9ba12e22df
Password for 'Administrator': *********
Authentication realm: 0f1a8b11-d50b-344d-9dc7-0d9ba12e22df
Username: sally
Password for 'sally': ************
Committed revision 1.
Congratulations! You just checked a change into Subversion!
E) Start the server as a service
- Stop the existing command window that's running svnserve by pressing CTRL+C.
- Install the service by issuing the following commands:
sc create svn.local binpath= "\"C:\Program Files\Subversion\bin\svnserve.exe\" --service --root C:\My Subversion Repository" displayname= "Subversion Repository" depend= Tcpip
- Test the new service by listing all the files in the repository:
svn ls svn://localhost/
You should see the single project we created earlier, myproject/
Edit From:: http://blogs.vertigosoftware.com/teamsyste...er_Windows.aspx