This article introduces you to how to set up the SVN management environment for windows. I hope this tutorial will be helpful to you.
Download and install
Install to the desired directory
Enter the following command in CMD:
Create SVN working directory
| The Code is as follows: |
Copy code |
| Svnadmin create directory |
Assign Permissions
Find in the Created directory conf
Modify the following option in the svnserve. conf file to delete #
| The Code is as follows: |
Copy code |
# Anon-access = read # Auth-access = write # Password-db = passwd
|
Modify the passwd in the same directory
Username = Password
Create SVN service in win
| The Code is as follows: |
Copy code |
Binpath = bin directory for svn Installation E: wwwsvn create the svn management directory by yourself SC create svnserve binpath = "D: Program Files (x86w.subversionbinsvnserve.exe-service-r E: wwwsvn" Start = auto displayname = "Subversion Server" depend = Tcpip (set it as a line by yourself) |
Start the service
| The Code is as follows: |
Copy code |
| Svn-d-r E: wwwsvn |
Access
| The Code is as follows: |
Copy code |
Svn: // localhost/directory created
|