Here we will only describe the subversion, which is not yet complete.
1. download and install the Subversion:
A. Subversion must be installed on the svn server.
B. tortoisesvn is only a client tool used to access the svn server. It is not required to be installed.
C. subclipse is also a client tool, but it is a plug-in used with eclipse and installed as needed
We recommend that you install all three servers. The client only installs the last two servers. The installation method is not described in detail. Next step:
Ii. Server warehouse creation and deployment:
Svnadmin create E: \ SVN \ Repository
3. Start the Subversion server:
Two methods:
1) enter the following command in the command line: svnserve-d-r e: \ SVN \ repository. This command indicates that SVN uses this directory as a repository and listens to client requests.
Among them, the role of-D is the background mode, and the role of-R is to develop the server warehouse path. When the server is started, do not close the command line window; otherwise, the svnserve service will stop.
2) create a TXT file and change the suffix to bat, such as XX. bat, right-click and copy the following command. There are three lines with no space at the beginning and a space after the = sign. Otherwise, an error is reported.
sc create SvnServe binpath= "D:\Program Files\Subversion\bin\svnserve.exe --service -r E:\svn\repository" depend= Tcpip start= autosc start SvnServepause
Click Save and run xx. bat. After the above operation, a service named "svnserve" is created in the control panel> Management Tools> Service (the name can be changed) and automatically started.
Note: D: \ Program Files \ subversion \ bin \ svnserve.exe is the path for installing subversion. E: \ SVN \ repository is the server repository and can be modified as needed.
(To delete the preceding service, open the command line and enter SC Delete svnserve)
The second method is recommended to run automatically as a service without opening a command line window.
After the server is started, you can check whether port 3690 has been successfully monitored. In the command line window, enter netstat-An to check whether port 3690 exists.
4. Access the svn Server:
See http://blog.csdn.net/zxdu721/archive/2009/09/04/4520847.aspx
Note: After 1.7.8, anonymous users do not have the write permission in any case. Check svnserve. conf in 1.7.8. There is a comment like this:
The sample settings below are the defaults and specifythatanonymous usershave read-only access to the repository, while authenticated users have read and write access to the repository.
Subversion Installation and Use