CentOS SVN Server Setup

Source: Internet
Author: User

CentOS SVN Server Setup1、Yum  InstallSubversion2、mkdir-p/opt/SVN3、chmodR777/opt/SVN4, Svnadmin create/opt/svn/Repos #创建一个svn版本仓库repos5, cd/opt/svn/repos/conf6、CP-P svnserve.conf./Svnserve.conf.bak back up the files that are about to be modified7、VIsvnserver.conf8, anon-access =None #匿名用户禁止访问auth-access =WritePassword-db =passwd#密码文件authz-db =Authz #认证文件realm=Repos #仓库9、VIauthz[groups]# harry_and_sally=harry,sally# Harry_sally_and_joe= harry,sally,&joe# [/foo/bar]# Harry=rw#&joe =r#* =# [repository:/baz/fuz]# @harry_and_sally=rw#* =Rrepos=zhoutingze,yuanlei[/] @repos=Rwzhoutingze=Rwyuanlei=RW* =RTen、VI passwd[users]# Harry=harryssecret# Sally=Sallyssecretzhoutingze=123456Yuanlei=12345678 One, svnserve-d-r/opt/svn/Repos #启动svn版本库 A, SVN checkout svn://120.25.238.000 -, multi-Library management, placing multiple libraries into/opt/The SVN directory stops killall svnserve CD first/opt/SVNCP-P Repos/conf/authz./AuthzCP-P repos/conf/passwd./passwdCD Repos/confVIsvnserve.conf Password-db =/opt/svn/passwd#密码文件 Authz-db =/opt/svn/Authz #认证文件VI/opt/Authz [groups] Repos=Zhoutingze,yuanlei [Repos:/] @repos=RW Zhoutingze=RW Yuanlei=RW* =R Svnserve-d-r/opt/svn/#注意这里, there is no repos folder for SVN checkout svn://120.25.238.000/repossvnadmin Create ProjectplanVIprojectplan/conf/svnserve.conf Password-db =/opt/svn/passwd#密码文件 Authz-db =/opt/svn/Authz #认证文件 Realm=Projectplan #仓库VI/opt/Authz [groups] Repos=Zhoutingze,yuanlei Projectplan=Zhoutingze,yuanlei [Repos:/] @repos=RW Zhoutingze=RW Yuanlei=RW* =R [Projectplan:/] @ProjectPlan=RWKillallSvnservesvnserve-d-r/opt/svn/

CentOS SVN Server Setup

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.