control system, version, management system, Internet, source code

Source: Internet
Author: User
Tags version control system

SVN is the abbreviation for Subversion, is an open source version control system, compared to RCS, CVS, it uses the branch management system, its design goal is to replace CVS. Many version control services on the Internet have migrated from CVs to subversion. It's easy to say. SVN is used to co-develop the same project for many people, the purpose of sharing resources


Experimental environment

centos6.5 (x64)


Software Installation

Rpm-qa | grep subversion

Yum Install-y subversion*



SVN--version

SVN, version 1.6.11 (r934486) compiled 17 2015, 08:37:43


Mkdir-p/var/svn/test

Svnadmin Create/var/svn/test

cd/var/svn/test/

Ls

Conf db format Hooks locks README.txt build File Library by default


Vim/var/svn/test/conf/authz

[Groups]

# harry_and_sally = harry,sally

# Harry_sally_and_joe = Harry,sally,&joe found


[Groups]

# harry_and_sally = harry,sally

# Harry_sally_and_joe = Harry,sally,&joe

admin = Admin,test1,test2 admin,test1,test2 for SVN user name


# [/foo/bar] Found

# Harry = RW

# &joe = R

# * =


# [/foo/bar]

# Harry = RW

# &joe = R

# * =

[/]

@admin = RW

* = Add these three lines of configuration


vim/var/svn/test/conf/passwd

[Users]

# Harry = Harryssecret found

# sally = Sallyssecret


[Users]

# Harry = Harryssecret

# sally = Sallyssecret

admin = 123456

Test1 = Test1

Test2 = test2 test1 username test1 as password (add three line user name password)



Vim/var/svn/test/conf/svnserve.conf

# anon-access = Read found

# auth-access = Write


# anon-access = Read

# auth-access = Write

Anon-access = None

auth-access = Write change to


# password-db = passwd found

Password-db = passwd instead


# authz-db = Authz found

Authz-db = Authz instead


#realm = My First Repository found

Realm = Demo ' s svndata change These lines to the top, or start the service will error


svnserve-d-r/var/svn--listen-host 192.168.1.160 start-up service

Killall Svnserve Stop Service

Chkconfig--level Svnserve on


Netstat-tuplna | grep svnserve

TCP 0 0 192.168.1.160:3690 0.0.0.0:* LISTEN 23370/svnserve

So far, SVN server installation is complete.

The client software name is:TortoiseSVN


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7E/D8/wKioL1cLDpmzim88AAC962JOGCU756.png "style=" float: none; "title=" 1.png "alt=" Wkiol1cldpmzim88aac962jogcu756.png "/>



650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7E/D8/wKioL1cLDpmj3j-xAABtKMFekfM283.png "style=" float: none; "title=" 2.png "alt=" Wkiol1cldpmj3j-xaabtkmfekfm283.png "/>

User name passwd file username password


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/DB/wKiom1cLDeei4cI_AADJZM0j0GQ091.png "style=" float: none; "title=" 3.png "alt=" Wkiom1cldeei4ci_aadjzm0j0gq091.png "/>


This article from "Mailfile" blog, declined reprint!

control system, version, management system, Internet, source code

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.