Apache-Subversion Configuration | svn Configuration | Code Manager service configuration

Source: Internet
Author: User

Apache-Subversion Configuration | svn Configuration | Code Manager service configuration


IntroductionI believe many new users will also encounter such problems and do not know how to configure them. As a side dish, I will share with you the problems I encountered! Haha!
Below I will only talk about the svn environment configuration in the window. If it is another operating system, Please bypass.


Step 1: Prepare

Subversion: http://subversion.apache.org/download/

The version does not matter, as long as it is the downloaded Windows version, but the latest official version is recommended. Here I use Apache-Subversion-1.8.11.

Decompress the downloaded Apache-Subversion-1.8.11 file to the local directory of the system (which directory can be put, it is recommended that you easily find it under the root directory ), this is stored in the directory of a small application that I usually use, as shown in figure

Open the bin directory, as shown in figure

Hold Shift + right-click in the blank space (for Windows 7 trial, if I haven't tried xp, use cmd to enter this directory) and open the command window in the shortcut menu,

Step 2: Create the SVN service and start it automatically (start the service)

Create a service: After the preparations are completed, you can enter the topic and execute the following script. For example, the path in the purple box indicates the root directory of the code you submit in the future, this directory needs to be manually created locally


sc create svnserve binpath= "D:\java\SmallApplication\Apache-Subversion-1.8.11\bin\svnserve.exe --service --root  E:\svn" displayname= "Subversion" depend= tcpip start= auto obj= "NT AUTHORITY\NetworkService"



Start the service: net start svnserve for example. Some friends may report an error during startup. It may be that the svn workspace directory has not been created.

The above svn configuration has been completed. The following describes how to try it out.

Step 3: Use SVN users to add and Configure permissions

First, we need to get a name for our project directory. The Test and svnadmin create e: \ svn \ Test that I have tried here are used to create the project directory. Please note that, this Test directory does not need to be created locally. svn will help you create it.

After the project directory is created, some files are generated locally, such

Open the E: \ svn \ Test \ conf \ passwd file, you can open it in notepad, and then add the user and password. The username and password I added here are both Test

We have added users. Here we add permissions, which are inaccessible by default. Therefore, you must add them, but they do not have to be the same as what I configured.

We have completed all the svn configurations and wish you a pleasant stay!

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.