Linux under SVN server (not finished, to be consolidated MyEclipse)

Source: Internet
Author: User


SVN Server Build- up

----- based on Red Hat Enterprise Linux Server release 6.4 (Santiago) ; Subversion1.6.11


Introduction: svn is a version management system, formerly known as CVS, are open source software. In order to improve efficiency, many people cooperate to open code, the project code is stored on the server, Subversion manages data that changes over time, and these data is stored in the central repository ( repository), this archive really wants a common file server, However, he will record every change in the file, and can manage any type of file, including the program source code. matching with the Windows client is TortoiseSvn.



    1. the 6.4 version comes with a yum source containing subversion, so the direct yum is installed and resolves the dependency problem. Yum install-y subversion.

    2. after installation, verify that the machine is installed successfully. svnserve–version

    3. you can use Netstat-nat to see if the default TCP3690 port is being monitored, and thesvn default port is 3690

    4. then we'll create the SVN repository, first set up a directory mkdir-p/opt/svndata

    5. Create a new repository in the directory just below, using the command svnadmin create/opt/svndata/repos repos The name of the repository

    6. then the most important configuration work, and then using the svnadmin Create command, will automatically generate the necessary configuration file under repos//conf/authz;passwd ;svnserve.conf

    7. then add svn user, add user name and password in passwd, format Username=password

      For example user1=passwd1 user2=passwd2

    8. authz inside [groups] set up Group
      Admin = User1
      [/] root permission settings ( is " " Svndata " this folder )
      user1 = rw user 1 permissions are: writable
      User2 = r user 2 permissions are: Readable, non-writable
      @admin  = RW Span style= "Font-family:dejavu Sans" > set group permissions
      [Svndata:/repos] Set the root directory " repos"
      User1 = rw
      User2 = r
      ... And so you can set permissions for each folder

    9. svnserve.conf

      " general"

      Anon-access = None ( Do not allow anonymous users to operate )

      Auth-access = Write ( Span style= "Font-family:dejavu Sans" > authorized user has Write permission )

      password-db  authz-db default on line, without modification, default user modification and Access Policy modification profile is passwd Authz

    10. Finally, we can start svn, svnserve-d-r/opt/svndata/ .

      -D indicates background run -R to develop root directory is /opt/svndata

      Stop svn service:Ps-aux | grep svn then uses kill-9 + process number to kill the process


Linux under SVN server (not finished, to be consolidated MyEclipse)

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.