svn installation configuration

2010-10-14  来源:本站原创  分类:Development  人气:174 

1. Software Download: Setup-Subversion-1.6.13.msi (server software), TortoiseSVN- (client software), MyEclipse's svn plugin
2. Followed by installation of Setup-Subversion-1.6.13.msi, TortoiseSVN- (will be asked to restart the computer after installation)
3. Establishment of the repository (Repository)
First, run the Subversion server needs to create a repository (Repository), can be seen as a database to store data on a server, Subversion server installed, you can run directly, such as:
svnadmin create E: \ svn \ sise_repository
Will be in the directory E: \ svn \ sise_repository to create a single repository.
We can also use the graphical TortoiseSVN completion of this step:
In the directory E: \ svn \ sise_repository under the "Right -> TortoiseSVN-> Create Repository here ...", then choose the repository model, where you can use the default, and then created a series of directories and files.
4. Configuring Users and Permissions
a. to the E: \ svn \ sise_repository \ conf directory, modify svnserve.conf:
# Anon-access = read
# Auth-access = write
# Password-db = passwd
# Authz-db = authz
anon-access = none / / disable anonymous access
auth-access = write / / authenticated users can read and write permissions
password-db = passwd / / validate the user passwd file used by
authz-db = authz / / the default authentication file

b. the same directory and then modify the passwd file, remove the following three lines of comments:
# [Users]
# Harry = harryssecret
# Sally = sallyssecret
Eventually become:
harry = 123456 / / name of value stored in the user name and password "username = password"
sally = 654321

c. Modify the directory with the authz file to set the access permissions [groups] to create user groups such as this is
Admin = admin
Developer = developer1, developer2
Will create two or more user groups, admin and developer, respectively, and their corresponding group.
Setting access path
*= R
@ Admin = rw
As shown above, all users of the svn directory files can be read, admin group permission to read and write ("*" represents all of the user, r w on behalf of the representative read write)
Can set specific access to the repository as follows:
[Repository A: /]
@ Developer = rw
As set up, that all developer team members for the "repository A" all the files below have permission to read and write

5. svn server start to run in any directory: (If you are prompted to check the svnserve not found,% Subversion installation directory% \ bin is added to the environment variable PATH)
svnserve-d-r E: \ svn \ sise_repository \
Our server program has been started.
(Note: Through the implementation of svnserve svnserve-help to get the help information)
Appendix: the svnserve is installed as system services
sc create svnserve binpath = "C: \ developertools \ Subversion \ bin \ svnserve.exe - service - root D: \ svn \ sise_repository" displayname = "Subversion" depend = Tcpip start = auto

There are also two points need to be handled with care. First, if the path includes spaces, must use "\" handling "" "number, such as the example above, if svnserve.exe in" c: \ program files \ subversion \ "in the command should be written as" binpath = "\" c: \ program files \ subversion \ bin \ svnserve.exe \ ""("" content), the following command, the red part is the change in part:

sc create svnservice
binpath = "\" C: \ developertools \ Subversion \ bin \ svnserve.exe \ "- service-r D: \ svnroot"
displayname = "Subversion" depend = Tcpip start = auto

6.MyEclipse url to access resources written svn: svn: / / ip / repository_folder
If want to use the resources of another user to access svn, get first C: \ Documents and Settings \ Administrator \ Application Data \ Subversion \ auth \ svn.simple file under the file deletion, and then submitted to svn in the updated code, you can re-enter user name and password.

  • MyEclipse in the SVN installation configuration Beginner's Guide 2010-11-03

    This section explain the installation of MyEclipse in the SVN configuration, mainly MyEclipse6.X and MyEclipse7.X, the following is a specific description, and I welcome that we can learn together. 1.SVN Chinese official website: http://www.subversio

  • Linux Knowledge ten: SVN installation configuration and use. SVN integration with Apache 2010-11-12

    svn installation and use of knowledge: svn install the required software: apr, apr-util, sqlite, neon, subversionyum install subversion: Online installation repository. . / Configure - prefix = / usr / local / subversion - with-apxs = / usr/local/apa

  • SVN installation configuration and integration with MyEclipse use development 2010-06-22

    First install the server and client software: Setup-Subversion and the Subversion of the Windows client TortoiseSVN The two software must be installed, click here to download the address you provide: Setup-Subversion:

  • Ubuntu SVN installation configuration is very simple 2010-12-22

    1, first need to install Ubuntu SVN. SVN under Ubuntu installation is very simple, sudo apt-get install subversion, waiting to complete the installation of Ubuntu SVN; 2, check out files (checkout). Use the command: svn co http:// {svn repository url

  • SVN installation configuration and simple to use 2011-06-30

    SVN is an increasingly widespread use of this article describes SVN SCM software to install and configure and simple to use A, Subversion download and install in the windows registry download the SVN server Setup-Subvers

  • svn installation configuration 2010-10-14

    1. Software Download: Setup-Subversion-1.6.13.msi (server software), TortoiseSVN- (client software), MyEclipse's svn plugin 2. Followed by installation of Setup-Subversion-1.6.13.msi, TortoiseSVN-

  • SVN SVN installation and configuration of integrated MyEclipse 2010-04-26

    SVN Installation: 1, the installation server ######### Installation file: SVN server ############### # Http:// # CollabNetSubversion-server-1.6.9-1.win32.exe Click the Install CollabNetSubversion-server.exe, when th

  • MyEclipse novice in the SVN installation and configuration guide 2010-11-03

    This section explain the installation of MyEclipse in the SVN configuration, mainly MyEclipse6.X and MyEclipse7.X, the following is a specific description, and I welcome that we can learn together. 1.SVN Chinese official website: http://www.subversio

  • SVN server installation configuration in mind to 2009-12-22

    Notes, their easy to use. -------------------------------------------------- - Environment Description: windows 2003 unzip version -------------------------------------------------- - Installation and create the repository extract

  • ubuntu installation configuration under svn + apache2 2011-06-14

    ubuntu installation configuration under svn + apache2 1 installed (using apt-get install installation) sudo apt-get install subversion sudo apt-get install libapache2-svn sudo apt-get install Apache2 2 Create the parent directory repository sudo mkdi

  • SVN + Apache installation configuration and use [For Windows] 2011-01-03

    Subversion installation, configuration and use A, Subversion's installation and testing Subversion configuration There are many ways, but also can be configured on different operating systems, this article I explain the Subversion 1.6.15 for Apache2.

  • svn installation and configuration (windows down) 2011-06-06

    Did not want to write, but found two hits in javaeye highest installation can not complete the installation of the tutorial, so I decided to write a real problem not the svn installation and configuration. Step One: Download the svn server installati

  • [Reserved] Linux SVN Installation and Configuration 2011-08-27

    Linux SVN Installation and configuration of the original address: Linux SVN Installation and Configuration step 1 The subversion yum install subversion step 2 Installing the Linux SVN module apache

  • Visual SVN Installation 2010-03-05

    Visual SVN Installation As a program developer, even if a person write their own procedures, it should have a SVN version control system in order to develop effective management code. Today I will introduce a Windows environment in a simple way to qu

  • sakai installation configuration 2 2010-04-21

    3. Compile and publish How to use the Maven Sakai The following step is only a brief introduction on how to start using maven to compile and publish sakai, more details please see: sakai_maven.doc in reference / docs / architecture and https: / / sou

  • centos zendce red5 ffmpeg installation configuration 2010-05-25

    This is mainly spoke of the centos server, how to quickly set up AMP environment and the streaming media servers. As for performance testing and tuning shelving. First, assume that the server is already installed centos system. Recommend a small soft

  • ubuntu svn server configuration 2010-05-29

    Original Source: https: / / / SubVersion Original author: Installation Fortunately, Subversion has been included in the main warehouse. Therefore, to install Subversion, you only need a simple operation: $ sudo apt-get inst

  • svn installation under linux 2010-06-09

    To Red Hat Enterprise Linux 5 as an example to explain. Related series: jdk installation under linux ant installation under linux linux installation under redis svn installation under linux Svn version 1.6.1 installed 1. Download svn Download: http:/

  • SVN server configuration: Windows at startup SVN service 2010-08-10

    svn server configuration, after twists and turns summarized below: Create autoRunSVN.bat documents are: Wrote, sc create MySVNServer binpath = "\" C: \ Program FilesSubversion \ svnserve \ svnserve \ "- service-r H: \ homerepos" displa

  • svn installation steps (windowXP) 2010-11-26

    1, the installation server 1.1 Preparing to Install Files (1 - apache_2.0.59-win32-x86-no_ssl.msi ,2 - svn-1 .4.3-setup. Exe ,3 - TortoiseSVN-1 .3.2.5840-svn-1 .3.0. Msi) 1.2 in order to install 1, 2,3 (note port configuration, the default port confi