CentOS SVN configuration is used

Source: Internet
Author: User

CentOS Installation Subversion

(Reference: http://blog.feehi.com/linux/252.html)

  • Download the latest version of Subversion

    wget http://mirror.bit.edu.cn/apache/subversion/subversion-1.9.3.tar.gz

  • Unzip and enter

    tar -xvzf subversion-1.9.3.tar.gz cd subversion-1.8.11
  • Installing Apr-util

    install apr-util apr-util-devel
  • Installing SQLite

    install sqlite sqlite-devel
  • If Yum SQLite is still not working, the following error will be displayed

  • This time, only by getting amakgamation

    wget Http://www.sqlite.org/sqlite-amalgamation-3071501.zip

Unzip by command, then rename

unzip sqlite-amalgamation-3071501.zipmv sqlite-amalgamation-3071501 sqlite-amalgamation
    • Run Configure script

      /configure–prefix=/usr/local/subversion    
    • Compile and install

      make && make install    
    • After the installation is complete, let's configure

      • Create a version directory

        Mkdir/var/svn

      • Plug-in repository

        Svnadmin create Svn/repo

      • Configuration file Usage

        • Configuration authz

          zeopean= zeopean

          [repo:/] @zeopean = RW

        • Configure passwd

          Zeopean = password

* 配置 svnserve.conf                [general]        anon-access = none        auth-access = write        password-db = passwd        authz-db = authz
    • After the configuration is complete, reboot.

      Svnserve-r-D/VAR/SVN

    • Then use the client to check out

      Svn://ip-addr/svn

CentOS SVN configuration is used

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.