Subversion (SVN for short) is an open-source version control system. Compared with the cross-region (RCs) and CVS, it uses a branch management system. Its design goal is to replace CVs. More and more control services on the Internet are transferred from CVS to subversion.
Http://subversion.apache.org/
1. Download the svn server Repository
We recommend that you install it in a directory without spaces. The installation directory is D: \ SDK \ subversion. During installation, the installation program automatically adds environment variables. Determine whether the installation is successful ,:
The preceding prompt indicates that the installation is successful. Otherwise, you have to configure the environment variable yourself. If you do not know how to configure environment variables, find Google or leave a message.
3. Create an SVN Repository
D: \ svnrepository there are four directories in the directory. If this file is not necessary, do not change it manually. The content 3 is maintained by the svn server. Their respective purposes are:
The conf folder contains the configuration files of the repository.
DB is actually used to store data versions.
The content in the hooks folder defines the hook script triggered by certain actions.
Objects in locks are used to lock some branches or files.
4. Configure SVN access and read/write mode
5. Create a user
6. Start the svn Server
If you think it is troublesome to press the command every time you start it, you can write the command in a batch file so that you can start it by double-clicking:
7. configure a Windows Service for SVN to enable startup without the DOS interface.
A. To create a Windows Service, run cmd as an administrator.
B. Create a service
sc create svnserve binPath= "D:\sdk\Subversion\bin\svnserve.exe --service --root D:\svnrepository" displayName= "SVN Server" depend= TCPIP start= auto
C. After the creation is successful, enter the win + r key and services. MSC to view the service you just created ,:
D. Attach how to delete the service:
SVN client:
TortoiseSVN:
http://nchc.dl.sourceforge.net/project/tortoisesvn/1.7.6/Application/TortoiseSVN-1.7.6.22632-win32-svn-1.7.4.msi
Subclipse (Eclipse plug-in ):
http://subclipse.tigris.org/files/documents/906/49201/site-1.8.7.zip