Using VISUALSVN server to build an SVN server (Windows environment for example)

Source: Internet
Author: User
Tags svn update tortoisesvn lenovo

Use VISUALSVN Server to achieve the main SVN function is better than using the original SVN and the Apache Together to implement the source code SVN Management It's much simpler, Let's take a look at 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.

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

VISUALSVN Server the installation currently the latest version is 4.0.0

a Visual SVN the installation is very simple,

"1" is almost the next step.

"2" Selection VISUALVSN servers, and Administration Console or only administrative control permissions

"3" Select the path to the program installation, The path to the Subversion Repository ( Library) and the Protocols and ports used.

You can chooseHTTPand theHTTPStwo kinds of protocols, if you want to useSVNThe protocol is also very convenient, in1.4version,Subversionjoined theServicerun the feature. The port number can be defined arbitrarily. ForHTTPSthe port number can be selected by default443and the8443, forHTTPThe default is to select the,8080and theBayi.

individuals prefer to useHTTPSof the8443Port, the reason is simpleHTTPSsecurity is relatively high, although443Port is standardHTTPSport, but if you doWEBdevelopment that must have trouble at the same timeSkypeThis port will also be used for some communication.

there is the following identity for authentication, one is Windows Verify that one is Subversion Identity Verification

The default here is Subversion authentication.

"4" This is followed by the process of copying the files.

"5" when the 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 it. VISUALSVN Server How to configure and use the server side

here I demonstrate adding a code base " Repository ", such as:

Click Repository Right-click

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

note: in checkbox If selected, in the code base startkit below creates trunk , branches , tags three subdirectories; unchecked, only empty code libraries are created startkit

Click OK button, the code base is created successfully.

After creating the code base, nothing is inside

below, we start the security settings on the left side of the Users Right-click on the button:

Enter the information above and click OK , we 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 the library you just created, Lenovo , right-click to select Properties ( Properties )

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

Note The permissions settings here, to choose the right.

Click " Determine " button, the user on the top has access Startkit different permissions for the code base.

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

Second, check in the source code to SVN Server

If we use Visual Studio in the folder Lenovo creates a project in which we want to check the source code of this project into SVN Server in the code base, first right-click Lenovo folder, when the right-click menu looks like this: select Copy URL toclipboard 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 (Windows environment for example)

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.