The SVN environment setup steps are as follows:
Download the SVN client and server from the Internet, when downloading need to note that the client and server version needs to be consistent, in addition to note that the computer system is 32-bit, the need to download 32-bit software, 64 bits of the corresponding bit 64-bit software.
Step one: Download the client and the server to install, basically always next on the line;
After the installation is finished verifying that the installation was successful, enter in the cmd window: SVN--version If the following appears to prove that the installation was successful.
Step two: Create a repository
Svnadmin Create repository path for example: Svnadmin Create D:\home is illustrated below:
Go to the D drive to see the new home folder, the contents of the folder are as follows:
In the Config folder, modify the svnserve.conf in the
Anon-access = Read
auth-access = Write
Password-db = passwd
Remove the "#" in front of these three fields
In the Config folder, modify the passwd,
Step three: Registering a Windows service
Input in cmd: SC Create service physical name binpath= "\" C:\Program files\subversion\bin\svnserve.exe\ "--service-r Warehouse directory" displayname= "logical Name"
Example: sc Create svn binpath= "D:\Subversion\bin\svnserve.exe--service-r d:\svn" displayname= "SVN"
After the registration is successful, enter services.msc into the service window in cmd, you can see "svn" in "Name", click on the start on the left, if you can start the successful registration service is successful, such as:
、
Step four: Install the SVN plugin in eclipse
Download online:
Unzip the Subclipse.zip directly and unzip the
The two folders are placed directly into the Eclipse\dropins folder, then the eclipse is restarted, and the reboot will see
The SVN instructions appear that the plugin was installed successfully.
Through the above steps, change will be basically set up, you can submit your own projects to the warehouse, click on the project-right--->team-->share project as prompted to complete.