Use visualsvn server to build the svn Server

Source: Internet
Author: User
Tags svn update tortoisesvn

Using the visual SVN server to implement the main SVN functions is more than using the original
SVN and Apache are used together to implement the svn Management of source code, which is much simpler and less complicated to use.

Next let's take a look at the detailed description

The following are examples of visual SVN server, which are free of charge.

Http://www.visualsvn.com/visualsvn/download/

SVN:

Http://tortoisesvn.net/downloads.html

1. To use SVN, installTortoisesvn,Is the svn above.

2. Install visual SVN.

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

Visualsvn Server
The latest version is 2.5.5.

1. Visual SVN installation is very simple,

1 is almost the next step.

2. Select the visualvsn server and console or only have the management and control permissions.

 

3. Select the installation path of the program, the path of the Subversion repository (Library), and the Protocol and port used.

 

You can select the HTTP and HTTPS protocols. If you need to use the svn protocol, it is very convenient. After version 1.4, subversion adds the Service Running function. The port number can be defined at will. You can select 443 and 8443 for HTTPS port numbers by default, and 80, 8080, and 81 for HTTP by default.

I personally prefer to Use https port 8443, because it is very simple that HTTPS security is relatively high. Although port 443 is a standard HTTPS port, it is certainly troublesome for web development, at the same time, Skype also uses this port for some communication.

There is also the following identity for authentication, one is Windows authentication, the other is subversion Authentication

Subversion authentication is used by default.

4. copy the file.

 

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

6. Open "visualsvn Server Manager" as follows:

 

 

Ii. Let's talk about
Configuration and usage of visual SVN server [server side]

The following example shows how to add a code library [repository], for example:

 

Right-click Repository

 

Create a new code library as shown in, and enter the code library name in the text box shown in the following figure:

Note: If the checkbox in is selected, the trunk, branches, and tags subdirectories will be created under the code base startkit. If not selected, only the empty code base startkit will be created.

Click OK to create the code library.

After creating the code library, there is no content in it

 

Next, let's start security settings, right-click users on the left:

 

Enter the above information and click OK to create a user. Add other users according to the above process.

Next, we will add these users to the project we just created.

Click the created library, Lenovo, and right-click Properties)

 

Click "add..." and select the user we just added,

Note that you must select the permission settings here.

Click "OK". The above user has different permissions to access the startkit code base.

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

Ii. Check in the source code to the svn Server

If Visual Studio is used to create a project in the Lenovo folder, we need to check the source code of the project to SVN.
In the code library on the server, right-click the Lenovo folder and choose copy URL toclipboard from the shortcut menu, as shown in. Copy the unified resource locator (URL) to the clipboard.

 

 

Right-click the blank area of the computer and selectTurtle/
Export

Then, a dialog box is displayed. paste the address to the first address bar.

Then select the output directory and click OK. The enter user name and password dialog box is displayed, and a new Lenovo folder is created in the export directory you selected.

Enter the username and password you just created. OK. The check-out page is displayed.

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

Iii. upload files to the svn Server

Select the output file Lenovo, put the file to be uploaded, right-click to submit

After selection, the submit dialog box is displayed.

 

Select a file to upload the file. A prompt is displayed after successful execution.

Update after submission. Otherwise, files are not displayed on the server,

For an update, select SVN update and submit.

So far, the svn server has been built.

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.