SVN installation tutorial

SVN profile:

 Why use SVN?

      Programmers in the preparation of the program, each programmer will generate a lot of different versions, which requires effective management of code programmers can quickly when needed, accurately remove the appropriate version.

What Is Subversion?

   It is a free / open-source version control system, a set of files stored in a central repository modification, recording every file and directory, Subversion allows to restore data to an earlier version, or check the data modification history, Subversion via the Web access to its repository, allowing users to operate on a different computer.

A: SVN server set up and use.

   1. First, download and set up SVN server, download the following address:  http://subversion.apache.org/packages.html , after entering the Web site, scroll to the very bottom of your browser to see the following screenshot:

 

2.VisualSVN server TortoiseSVN server and client with the use of the above VisualSVN opening the connection, VisualSVN Server to download, the download is complete double-click the installation, as shown below:

 

Click Next Next, as follows:

 

 

Then click on the Next item, the next step, as follows:

 

Click [Next] as follows:

 

Selection Criteria version is installed

 

Location refers to the installation directory of VisualSVN Server, Repositorys is to specify your repository directory .Server Port specify a port, Use secure connection Goushan using a secure connection,

Click Next, enter the next step, as shown below:

 

And then click [Install], enter the following installation diagram:

 

Wait until the installation is complete, click [next] to enter the next step: as shown below

 

Click [Finish] to complete the installation. After installation is complete, start the VisualSVN Server Manager, as shown:

 

You can see some information repository on the right side of the window, such as state logs, user authentication, and other repositories.

To create a repository, you need to right-click Repositores left of the window, as shown below:

 

In the pop-up menu, select Create New Repository or New -> Repository:

 

Next:

 

The next step, as shown below:

 

Click the Next button, as shown below:

 

Click [create], as shown below:

 

Click [Finish] to complete the basic creation.

3. The need to create users and groups, and the need to assign permissions.

  (1) on the left side, right-click the group VisualSVN Server Manager window, select or create Create User -> User, as shown:

 

Click User, enter the following:

 

Fill in Username and password, click ok button, enter the following:

 

Click OK to create a new user successful (if there are multiple users, the same operation).

 

(2) We then establish user groups, on the left, right-click the user group VisualSVN Server Manager window, select the Create Group or New -> Group, as shown:

 

Enter the group name, add user USER

 

Click OK

 

Next we need to set permissions to user groups, on the MyRepository Right-click, select Properties, as shown:

 

In the dialog box, select the Security tab, click the add = "Groups =" Developers, select the Developers, and then add in, permission is set to Read / Write, as shown below:

 

Click [Application] OK button.

(3) Copy access path

 

Two: SVN client installation.

 1. First we need to download the "svn little turtle" to install. For example, I downloaded the following:

 

2. Double-click to start the installation fool

 

three. The installation is complete, the client on the use

1. Turn

 

2. just copy the input path

 

Click OK, and enter your user name and password

 

login successful;

 

Add folder = "choose their own to add to the repository project

 

I did not do version control project in the workspace before you go deleted:

Then remove it from the pull to do the project svn version control

 

Pulling down into Eclipse program, version control can be achieved at this time has

 

This time you found your eclipse, you have this project. After modifying the code can be submitted directly to the svn server go up.

Guess you like

Origin www.cnblogs.com/xiaozhaoboke/p/11005821.html