1. Overview
VISUALSVN server is a free Windows Apache Subversion Server package. The server package contains a streamlined Apache HTTP server, Subversion server, and a Microsoft Admin Console configuration interface that can be installed on the Windows platform with a single click of the Subversion server. Easy to use, but also to achieve more complex directory rights management.
The official website has two versions: https://www.visualsvn.com/server/, standard version free, Enterprise Edition has 45 days evaluation period, is no free.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/83/3C/wKioL1dtOB3QHOqFAAAvHv4vTs4359.png "title=" 2016-06-24_213746.png "alt=" Wkiol1dtob3qhoqfaaavhv4vts4359.png "/>
2. Introduction to the Environment
Server-side systems: Window Server R2 Enterprise
Server-side software: Visualsvn-server-3.5.3-x64.msi
Client side software: Tortoisesvn-1.9.4.27285-x64-svn-1.9.4.msi
3. Demand
Create the repository Loveyao, create the appropriate directory folder, create the appropriate test user, and set the corresponding permissions. As shown in the following two tables:
Table I: Directory permission requirements
Repository (repositories) Loveyao's Fold er |
Directory Permission Requirements |
Test users |
Shares |
Everyone has read and write access |
Everyone |
Meeting Minutes |
Everyone has read and write access |
Everyone |
Engineering Department
|
Read-write access to your own directory, all directory-only permissions for other departments (except management)
|
Gcb01 |
Service |
Fwb01 |
Finance Department |
Have read and write permissions on their own directories, read-only access to all directories in other departments, no one else in the department has permission |
Cwb01 |
Management level |
Read and Write permissions for all directories |
Manager01 |
Table II: Repository/directory development to the corresponding user's permission policy.
Repository/Directory |
User Rights Assignment (r: Read Only W: Write none: No permissions) Note: Red italic indicates permissions to inherit the Loveyao repository |
Loveyao |
Everyone = R |
Shares |
Everyone = RW
|
Meeting Minutes |
Everyone = RW |
engineering |
gcb01 = Rw; everyone = R; Span style= "Font-family:arial, Helvetica, Sans-serif;background-color:rgb (255,255,255);" >manager01 = RW |
Service |
FWB01 = RW;everyone = r;Manager01 = RW |
Finance Department |
cwb01= rw; everyone = none;Manager01 = RW |
Management level |
cwb01= r;everyone = none;manager01 = RW |
4, Installation Visualsvn-server
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/83/3C/wKioL1dtJGbTzNxOAAApN4JMLT4553.png "style=" float: none; "title=" 2016-06-24_171708.png "alt=" Wkiol1dtjgbtznxoaaapn4jmlt4553.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/3C/wKioL1dtJGfi2VZwAAA0vFUY5rg301.png "style=" float: none; "title=" 2016-06-24_171720.png "alt=" Wkiol1dtjgfi2vzwaaa0vfuy5rg301.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/3D/wKiom1dtJGezTYjyAAAtTvINLFA491.png "style=" float: none; "title=" 2016-06-24_171759.png "alt=" Wkiom1dtjgeztyjyaaattvinlfa491.png "/>
Select Standard Edition
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/83/3C/wKioL1dtJGeDwEuqAAAnsAWW6ok394.png "style=" float: none; "title=" 2016-06-24_171818.png "alt=" Wkiol1dtjgedweuqaaansaww6ok394.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/3D/wKiom1dtJGeR68FoAAAhEo5Z0hM952.png "style=" float: none; "title=" 2016-06-24_171848.png "alt=" Wkiom1dtjger68foaaaheo5z0hm952.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/3D/wKiom1dtJGiTLL92AAAc3YI8glw983.png "style=" float: none; "title=" 2016-06-24_171906.png "alt=" Wkiom1dtjgitll92aaac3yi8glw983.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/3C/wKioL1dtJGiCvTtGAAAnB67ixUQ912.png "style=" float: none; "title=" 2016-06-24_171928.png "alt=" Wkiol1dtjgicvttgaaanb67ixuq912.png "/>
5. Create repositories, folders, users
1), open VISUALSVN Server Manager as follows
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/3D/wKiom1dtJVvD5IGEAABSCwOerBM089.png "title=" 2016-06-24_172003.png "alt=" Wkiom1dtjvvd5igeaabscwoerbm089.png "/>2), creating the repository Loveyao
Right-click to select the following:
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/3C/wKioL1dtJaPxolfSAAFpE3fKo9k790.png "title=" 2016-06-24_201915.png "alt=" Wkiol1dtjapxolfsaafpe3fko9k790.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/83/3C/wKioL1dtJdXxK2XSAABFn-TSKr4729.png "style=" float: none; "title=" 2016-06-24_172103.png "alt=" Wkiol1dtjdxxk2xsaabfn-tskr4729.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/83/3D/wKiom1dtJdaihaxgAAA4etThA9o609.png "style=" float: none; "title=" 2016-06-24_172123.png "alt=" Wkiom1dtjdaihaxgaaa4ettha9o609.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/3C/wKioL1dtJdbBQMIhAABDw1pDgcs758.png "style=" float: none; "title=" 2016-06-24_172139.png "alt=" Wkiol1dtjdbbqmihaabdw1pdgcs758.png "/>
Select the permissions of the Loveyao repository, you can modify it later, do not select the first one, otherwise all the folders under the repository cannot be accessed.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/3D/wKiom1dtJdbRe8NPAABEXHhzE58211.png "style=" float: none; "title=" 2016-06-24_172157.png "alt=" Wkiom1dtjdbre8npaabexhhze58211.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/3C/wKioL1dtJdejnZODAABBQou8f1I217.png "style=" float: none; "title=" 2016-06-24_172217.png "alt=" Wkiol1dtjdejnzodaabbqou8f1i217.png "/>
3. Create a Folder
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/83/3C/wKioL1dtJ3ShPuP9AADCdJttw64023.png "style=" float: none; "title=" 2016-06-24_201852.png "alt=" Wkiol1dtj3shpup9aadcdjttw64023.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/3D/wKiom1dtJ3TTqvp9AAA9RAPSf0A395.png "style=" float: none; "title=" 2016-06-24_202546.png "alt=" Wkiom1dtj3ttqvp9aaa9rapsf0a395.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/83/3D/wKiom1dtJ3Tgv09lAAA4YgQedME306.png "style=" float: none; "title=" 2016-06-24_202756.png "alt=" Wkiom1dtj3tgv09laaa4ygqedme306.png "/>
4), create users
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/3D/wKiom1dtKGLhBdJhAAA3t0nvYK4639.png "style=" float: none; "title=" 2016-06-24_203008.png "alt=" Wkiom1dtkglhbdjhaaa3t0nvyk4639.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/3C/wKioL1dtKGKhRMIIAAA-l4dbMOw527.png "style=" float: none; "title=" 2016-06-24_203051.png "alt=" Wkiol1dtkgkhrmiiaaa-l4dbmow527.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/3C/wKioL1dtKGPyz1G2AAAyTBeUPSI196.png "style=" float: none; "title=" 2016-06-24_203209.png "alt=" Wkiol1dtkgpyz1g2aaaytbeupsi196.png "/>
6. Configure Directory Permissions
Take the configuration repository Loveyao permissions as an example, the other same. According to table 2, the right equipment is strictly in accordance with table 2 (no problem after testing)
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/83/3C/wKioL1dtKQiCDQMkAADc9XfiN6Y800.png "style=" float: none; "title=" 2016-06-24_203451.png "alt=" Wkiol1dtkqicdqmkaadc9xfin6y800.png "/>
Click Add to add a user or user group and select the appropriate permissions below.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/83/3D/wKiom1dtKQjhNNg5AABQOcG5nMc087.png "style=" float: none; "title=" 2016-06-24_203439.png "alt=" Wkiom1dtkqjhnng5aabqocg5nmc087.png "/>
7. Client Test Permissions
The client installs the Tortoisesvn-1.9.4.27285-x64-svn-1.9.4.msi, the installation client does not carry on the explanation, may refer to my previous post: http://20161215.blog.51cto.com/ 2276215/1792539.
Different places, in the repository: https://KGW-SVN-TEST/svn/loveyao/, where kgw-svn-test is the server hostname. As follows: (client creates different folders for corresponding tests)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/3C/wKioL1dtNZiixW0vAADvFrnx_6E769.png "style=" float: none; "title=" 2016-06-24_205141.png "alt=" Wkiol1dtnziixw0vaadvfrnx_6e769.png "/>
Click Accept Voucher, enter the user name and password, OK.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/3C/wKioL1dtNZiyb2chAAApGIXPoXo975.png "style=" float: none; "title=" 2016-06-24_205206.png "alt=" Wkiol1dtnziyb2chaaapgixpoxo975.png "/>
The following different parts of the door folder checkout results are as follows:
The user login for the Engineering Department and service department only has read and write access to their own directories and public directories, the other directories are read-only, and the finance and management folders are not visible because they do not have permissions.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/3D/wKiom1dtNijiipSnAAAhLb9ugqo300.png "style=" float: none; "title=" 2016-06-24_212022.png "alt=" Wkiom1dtnijiipsnaaahlb9ugqo300.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/83/3C/wKioL1dtNimBoOf0AAAhQWYnlfw047.png "style=" float: none; "title=" 2016-06-24_212055.png "alt=" Wkiol1dtnimboof0aaahqwynlfw047.png "/>
Finance Department user can see all, but only their own directories and public directories have read and write permissions. Other directories are read-only.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/83/3D/wKiom1dtNimCueGOAAArzcVQ6tY678.png "style=" float: none; "title=" 2016-06-24_212112.png "alt=" Wkiom1dtnimcuegoaaarzcvq6ty678.png "/>
The management user has read and write access to all directories.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/83/3C/wKioL1dtNinxvLu5AAArUZodDiI581.png "style=" float: none; "title=" 2016-06-24_212133.png "alt=" Wkiol1dtninxvlu5aaaruzoddii581.png "/>
Test Engineering user, add a TXT file in the service directory, is not allowed, specifically as follows:
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/83/3D/wKiom1dtNz6z3ZdBAABnG-xLx4o553.png "style=" float: none; "title=" 2016-06-24_205957.png "alt=" Wkiom1dtnz6z3zdbaabng-xlx4o553.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/83/3C/wKioL1dtNz6jVJk9AABsoUcyb84101.png "style=" float: none; "title=" 2016-06-24_210018.png "alt=" Wkiol1dtnz6jvjk9aabsoucyb84101.png "/>
VISUALSVN Server Download Link:
https://www.visualsvn.com/server/download/
This article is from "Love_ Yao" blog, please be sure to keep this source http://20161215.blog.51cto.com/2276215/1792741
SVN three: VISUALSVN Server easy Deployment and directory permissions