SVN server Setup and use

Source: Internet
Author: User
Tags svn update tortoisesvn lenovo

Using visualsvn Server to implement the main SVN functionality is better than using the original svn and Apache to implement the source code SVN Management Much simpler, just 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.

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

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 chooseHTTPAndHTTPSTwo 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 default443And8443ForHTTPThe default is to select80、8080And81。
personal preference for using https8443 port for a simple reason https443 port is the standard https port, but if Span style= "color: #333333;" >web Development that must have trouble, and This port will also be used 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; , only the empty code base 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 have created a project in folder Lenovo using Visual Studio , we need to check the source code of this project into the codebase on the SVN Server, first right click on 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.

SVN server Setup and use

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.