Current location - Quotes Website - Collection of slogans - How to configure svn server under windows
How to configure svn server under windows
Using VisualSVN server to realize the main SVN function is much simpler than using the original SVN and Apache to realize the SVN management of source code. The following is a detailed explanation.

The download address of VisualSVN server is as follows, which is free, so don't worry about it at will.

/server/download/

The download address of SVN is as follows

/downloads.html

1. To use SVN, you must first install TortoiseSVN, which is the download address of SVN above.

2. Install VIsualSVN.

=======================================

The latest version of VisualSVN server installation is 4.0.0.

First of all, the installation of visual SVN is very simple.

1, almost the next step.

2. Select visualVSN server and management console or only manage control rights.

3. Select the program installation path, Subversion repository path and the protocol and port used.

You can choose two protocols, HTTP and HTTPS, and it is very convenient to use svn protocol. After the version of 1.4, Subversion added the function of service running. The port number can be defined arbitrarily. By default, the port numbers of HTTPS can be 443 and 8443, and the port numbers of HTTP can be 80, 8080 and 8 1. ?

The following identities are used for authentication, one is windows authentication and the other is Subversion authentication, in which Subversion authentication is the default.

4. Then there is the process of copying files.

5. After the installation, you will be asked if you need to run VisualSVN Server Manager (a very useful management tool).

6. Open the VisualSVN Server Manager, as shown below:

Second, the following is how to configure and use the VisualSVN server.

1. Add a code base below, as shown below:

2. Right-click the repository.

3. Create a new code base as shown above, and enter the code base name in the text box, as shown below:

Note: If the check box in the above figure is selected, three subdirectories will be created under the code base StartKit: trunk, branches and tags. If it is not selected, only an empty basic code StartKit will be created.

Click the OK button, and the code base is created successfully.

After creating the code base, there is nothing in it.

4. Next, start the security settings, and right-click the user on the left:

Enter the above information, and then click OK to create the user. According to the above process, add users and other users respectively.

Let's start adding these users to the project we just created.

Click the library Lenovo you just created, right-click and select Properties.

5. Click the "Add ..." button and select the user just added in the figure below.

Pay attention to the permission settings here and make a good choice.

Click "OK" button, and the above users will have different permissions to access the StartKit code base.

=======================================

Third, check the source code into the SVN server.

1. If you use Visual Studio to create a project under the lenovo folder, to check the source code of this project into the code base on the SVN server, first right-click the lenovo folder, and the right-click menu at this time is as shown in the following figure: Select copy URL toCLipboard, that is, copy the Uniform Resource Locator (URL) to the clipboard.

2. Then right-click on the blank space of the computer and select the icon/export of Little Turtle.

3. After that, a dialog box will pop up, and you can paste the newly published address into the first address bar.

Update after submission, otherwise the server will not display the file.

Update is to select SVN. Update and submission are similar, so I won't go into details here.

At this point, the SVN server has been built.