Build svn and create SVN projects

Source: Internet
Author: User

    • Yum Install SVN

#yum –y Install Subversion

#mkdir/alidata/banbenku

#mkdir/alidata/banbenku/svndata

#svnadmin Create/alidata/banbenku/svndata/b2b2cios

( Create a new B2b2cios project)

    • Editing a configuration file

#cd/alidata/banbenku/svndata/b2b2cios/conf

#vim svnserve.conf

Anon-access = None

auth-access = Write

Password-db = passwd

Authz-db = Authz

    • Add SVN user and password

#vim/alidata/banbenku/svndata/b2b2cios/conf/passwd

Aaa= 123456

(username is AAA; password is 123456)

    • Add read and Write permissions

#vim/alidata/banbenku/svndata/b2b2cios/conf/authz


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/EB/wKioL1g_jkLyaZMsAAAn-wviR1w630.png-wh_500x0-wm_3 -wmp_4-s_2216405259.png "title=" 1233.png "alt=" Wkiol1g_jklyazmsaaan-wvir1w630.png-wh_50 "/>

    • Create SVN database Directory

#svnadmin Create/application/b2c_ios

Modifying a configuration file

#cd/application

#cd/b2c_ios

#cd conf

#vim Authz


650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8A/EF/wKiom1g_joGyD6xCAAAWqDHsAhw600.png-wh_500x0-wm_3 -wmp_4-s_839534918.png "title=" 1234.png "alt=" Wkiom1g_jogyd6xcaaawqdhsahw600.png-wh_50 "/>

#vim passwd

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8A/EF/wKiom1g_jr6i7rFZAAATIL2R8XI938.png-wh_500x0-wm_3 -wmp_4-s_2561210949.png "title=" 1235.png "alt=" Wkiom1g_jr6i7rfzaaatil2r8xi938.png-wh_50 "/>



# Vim Svnserve.conf

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8A/EB/wKioL1g_jtqBFLBDAABsl-qXQ78767.png-wh_500x0-wm_3 -wmp_4-s_4149437465.png "title=" 1236.png "alt=" Wkiol1g_jtqbflbdaabsl-qxq78767.png-wh_50 "/>

Uncomment the Marked place

    • Restart

#ps –ef |grep Svnserve

Kill Process Number

Start

#svnserve-D-r/alidata/banbenku/svndata/



This article is from the "Losers" blog, make sure to keep this source http://losers.blog.51cto.com/12343498/1878390

Build svn and create SVN projects

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.