Using VISUALSVN server to build an SVN server under Windows

Source: Internet
Author: User
Tags svn svn update port number tortoisesvn lenovo

using the VISUALSVN server to achieve the main SVN functionality is much simpler than using the original SVN and Apache to implement the source-code SVN management, and here's a look at the detailed instructions.

The download address for VISUALSVN server is as follows, free of charge, without concern

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

SVN's download address is as follows

Http://tortoisesvn.net/downloads.html

"1" Use SVN, the first to install TORTOISESVN, is the above SVN download address.

"2" Installation visualsvn.

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

The latest version of the VISUALSVN Server installation is 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" Select the path of the program installation, the path to the Subversion Repository (library), and the Protocols and ports used.

You can choose between HTTP and HTTPS two protocols, which are also very handy if you need to use the SVN protocol, and after version 1.4, Subversion joins the service function. The port number can be defined arbitrarily. The port number for HTTPS can be selected by default 443 and 8443, and 80, 8080, and 81 for HTTP defaults. The personal preference for 8443 ports with HTTPS is simple because HTTPS security is relatively high, although port 443 is a standard HTTPS port, if web development is a hassle, Skype will use this port for some communication.

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

Subversion authentication

This defaults to Subversion authentication.

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

"5" will ask you if you need to run VISUALSVN Server Manager (a very useful management tool) after the installation is complete

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

Two below say the configuration and usage of VISUALSVN server

I'll show you how to add a code base, "Repository", as shown below:

Click Repository Right button

As shown in the above illustration, create a new code base and enter the name of the code library in the text box shown in the following illustration:

Note: If checked, the checkbox in the image above will create a trunk, branches, tags three subdirectory below the code base Startkit, and if unchecked, create an empty code base Startkit only.

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

After creating the code base, nothing is inside

Now, let's start with the security settings and right click on the users on the left:

Enter the above information, click OK, we will create a user. According to the above process, add users to the other users can be.

Here we start adding these users to the project we just created.

Click on the library you just created, Lenovo, right-click the Select attribute (properties)

Click the "Add ..." button in the image above to select the user we just added in the image below.

Note the permission settings here, to choose good.

By clicking on the "OK" button, the user above has different permissions to access the Startkit code base.

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

Two, check in source code to SVN server

If we use Visual Studio to create a project in folder Lenovo, we will check the source code of this project into the database on the SVN server, right-click on the Lenovo folder, and then right-click the menu as shown in the following image: Select Copy URL Toclipboard, is to copy the Uniform Resource Locator (URL) to the Clipboard

Then click on the blank of the computer and select the Turtle icon/export

Then pop up the dialog box and paste the new address into the first address bar

Then select a good output directory, click OK. A dialog box pops up with the username and password, and a new Lenovo folder is created in the export directory you selected.

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

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

Three upload files to the SVN server

Select Output file in the file that you want to upload, put it in, and right click Submit.

Popup Submit dialog box after selection

Select a good file and make sure you can upload it. There is a hint after success.

To update after submission, otherwise the server is not displaying files,

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

This is the SVN server to build.

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.