Installation and configuration methods for VISUALSVN server under Windows (graphics) _win server

Source: Internet
Author: User
Tags commit svn svn client port number tortoisesvn

The VISUALSVN server is free and the VISUALSVN is charged. VISUALSVN is the SVN client, integrated with Visual Studio, VISUALSVN server is the SVN servers, including subversion, Apache, and user and Rights management

Why use the VISUALSVN server under Windows without subversion

Because if you use subversion directly, on a Windows system, if you want it to start with the system, you need to encapsulate SVN server as Windws service, and modify the configuration file to control user rights, and if you want to Web-mode HTTP protocol Access, and generally to install the configuration Apache, if it is a novice, it is not a headache? The VISUALSVN serve integrated subversion and Apache, eliminating all the hassle. When installed SVN server has been encapsulated as WINDWS Service,apache server configuration is only in the image interface, specify authentication mode, access port and other simple operations, in addition, user Rights management is also through the image interface to configure.

The above is excerpted from the network

Download VisualSVN2.6.4

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

Run, you can see that it contains Apache HTTP server and Apache Subversion

Next, accept the agreement

Next, by default, install the SVN server and the admin console, and the default check Add SVN command line tool to environment variable

Next, choose to install the version, here Select the standard version, the following enterprise version of more features, can be combined with AD, the following compare editions is to let you compare two versions of the difference

Then the location and port number where the installation directory and resource pool are located and, if the default HTTPS is used, the port has 443 and 8443

If you do not use HTTPS, the port is 80 and 8080, this is also the default here!

Next, install

installation process

Install complete, start software

Overall interface, left from top to bottom is SVN local server, resource pool, user, user group

Right from top to bottom is service status, log information and configuration, authentication information and configuration, resource pool information and configuration

There are updates at the bottom, version numbers and the like.

The system service VISUALSVN Server is generated when the installation is complete

If you uninstall VISUALSVN server and the prompts process is still running and cannot uninstall, you can stop the VISUALSVN Server service!

Start configuration

There are some parameter settings in the local server properties, such as the location of the resource warehouse!

New warehouse, Arrow refers to two locations can be

Warehouse Name

Warehouse structure, select the first empty, the following after the completion will automatically exist three folders: Trunk,branches,tags

Warehouse access permissions settings, Nobody has access is not accessible to all, the second is all SVN users can read and write, and finally the custom permissions, by default to come!

The final display of the configuration of the warehouse name is Kevin,url is Https://kevin-zheng/svn/kevin, because we use the HTTPS protocol, Kevin-zheng is the host name, can be replaced by IP, kevin-zheng/ SVN is the root directory Svn/kevin is a virtual SVN directory, not the actual directory we set up, permissions by default for everyone to read and write

IE visit Https:/kevin-zheng/svn/kevin, pop-up Login dialog box, stating that SVN is working properly!

Firefox browser, because there is no certificate, so prompt untrusted connection

Point I have fully understood the possible risks of adding exceptions

Pop-up Login dialog box

Because there is no user, so landing is not on, now to build users, the Users right button, create two users Kevin and Zheng, you can set the password, you can not set

Access is normal, but the inside is empty because we have something inside!

Set permissions on the warehouse name right, properties

Security Remove Everyone, add users to specify

The following are the user's access rights to the resource

Set to inaccessible, I can't open it.

You can create user groups and then set permissions on groups of users to make it easier to manage

Look at the files generated in the warehouse.

Groups.conf

htpasswd

The files under Kevin's library

Import files from native to SVN server

TORTOISESVN installation will not say, directly next on the line!

Right-click on or inside the directory name you want to submit, select Tortoisesvn--import

Pop-up dialog box, set the correct remote directory, you can write a point of text

Prompt certificate failed, regardless of it, point first bar, do not ask later

Enter your username and password, if you have a password

Success

If you add a file in your local directory

It can be uploaded in the same way.

Refresh the server software to see the changes

Download file to local, right click on SVN Checkout

Select the correct remote directory and local directory

Success

After success, there is a big red hook on the icon

After synchronizing once, you can right-click a directory or directory name, and an SVN Commit

If you have added files or modified files on this computer

Direct Commit

Select the file you want to add or modify to write a comment

Success

Update on another computer

As you can see, synchronization is successful, prompting you to add the appropriate file for this update

You can also right-click the file, Tortoisesvn,add

First add, then submit, is trouble point, as direct submission to the quick!

Related Article

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.