Linux Build SVN server

Source: Internet
Author: User

1:yum Install subversion?2: input rpm-ql subverionrpm-q app---software is installed svn-help---can see how SVN is used? 3: Create SVN repository directory mkdir-p/VAR/SVN /svnrepos?4: Create a repository svnadmin create/var/svn/svnrepos the command will be in/var/svn/svnrepos several directories? 5: Enter the Conf directory (the SVN version configuration file) authz---file is the permission control file passwd---is the account password file svnserve.conf svn---service profile? 6: Set account password VI passwd in [users] Block add user and password, format: account = password, such as Dan=dan?vi Editor common commands i---Enter insert mode esc---exit edit mode shift+:---command line mode: q---Exit Editor: q!---Force exit Editor: x---text changes when you save and exit the editor? 7: Set Permissions VI authz Add the following code at the end: [/]dan=rww=r means that the repository's root directory Dan has read and write access to it, and W only reads permissions? 8, modify svnserve.conf file VI Svnserve.conf Open a few comments below: Anon-access = read #匿名用户可读auth-access = write #授权用户可写password-db = passwd #使用哪个文件作为账号文件authz-db = Authz #使用哪个文件作为权限文件realm =/var/svn/svnrepos # Certified space name, directory where repository is located?Note: one: ~\conf\svnserve.conf:20:? Option?expected is svnserve.conf in the deletion of comments when the space is also deleted two: VI editor display the number of rows---set nu?9, start svn repository svnserve-d-r/var/svn/svnrepos? Server configuration Complete the rest is the client Operation connection: Svn://xxxx:xxxx:xxxx:xxx Enter the user name, password to log in

Linux Build SVN server

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.