SVN entry and configuration for Windows Services

Source: Internet
Author: User
Tags svn client version control system tortoisesvn

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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.