Using VISUALSVN server to build SVN server under Windows

Source: Internet
Author: User
Tags svn update tortoisesvn

Using VISUALSVN server to implement the main SVN functionality is much simpler than using the original SVN and Apache to implement the SVN management of the source code, and see the detailed instructions below.

VISUALSVN server is as follows, is free, do not have to worry about

http://www.visualsvn.com/server/download/

SVN is as follows

Http://tortoisesvn.net/downloads.html

"1" Using SVN, the first to install TortoiseSVN, is the above SVN.

"2" Install VISUALSVN.

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

The latest version of VISUALSVN Server installation is now 4.0.0

The installation of a Visual svn is very simple,

"1" is almost the next step.

"2" Select VISUALVSN Server and Admin console or only administrative control permissions

"3" selects the path to the program installation, the path to the Subversion Repository (library), and the Protocol and port used.

You can choose between HTTP and HTTPS two protocols, it is also very convenient to use the SVN protocol, after the 1.4 version, Subversion joined the function of service operation. The port number can be defined arbitrarily. The port number for HTTPS can be selected by default for 443 and 8443, and 80, 8080, and 81 can be selected by default for HTTP.

Personal preference to 8443 port using HTTPS, for simple HTTPS security is relatively high, although the 443 port is a standard HTTPS port, but if you do web development that certainly has trouble, and Skype will use this port for some communication.

There is the following identity for authentication, one is Windows authentication, one is Subversion authentication

The default here is Subversion authentication.

"4" is then the process of copying the file.

When the "5" installation is complete, you will be asked if you need to run VISUALSVN Server Manager (a very useful management tool)

"6" open "VisualSVN Server Manager", as follows:

Two, let's say VISUALSVN server configuration and Usage "Server Side"

Below I demonstrate the addition of a code base "Repository" such as:

Click Repository Right button

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

Note: If the checkbox is checked, the trunk, branches, tags Three subdirectories are created below the code base Startkit, and if unchecked, only empty code library Startkit is created.

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

After creating the code base, nothing is inside

Below, we start the security settings and right-click on the users on the left:

Enter the information above, click OK, we will create a user. Follow the above procedure, add the user to other users separately.

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

Click on the library that you just created, Lenovo, right-click to select Attributes (properties)

Click on the "Add ..." button in the Select the user we just added,

Note The permissions settings here, to choose the right.

Click on the "OK" button, the above users have access to the Startkit code library different permissions.

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

Second, check in the source code to the SVN server

If we use Visual Studio to create a project in the folder Lenovo, we have to check the project's source code into the SVN server codebase, first right click on the Lenovo folder, then the context menu as shown: select Copy URL Toclipboard, is to copy the Uniform Resource Locator (URL) to the Clipboard

Then right-click on the blank of the computer and select the small turtle icon/ export

Then pop up the dialog box and paste the newly-out address into the first address bar

Then choose a good output directory, click OK. A dialog box with the user name and password will pop up, and a new Lenovo folder will be created at the export directory of your choice.

Enter the user name and password you just created. OK, then the checkout interface pops up.

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

Three upload files to SVN server

Select output file Lenovo, put the file to upload, right-click Submit

Select the Submit dialog box after the popup

Select a good file and make sure you can upload it. There are hints after success.

After committing to update, or the server is not to display files,

Update is to select SVN Update and commit similar here is not duplicated.

At this point, the SVN server is ready to build.

Using VISUALSVN server to build an SVN server under Windows

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.