Install SVN under Linux, Warehouse creation, user Rights Management

Source: Internet
Author: User
Tags svn

1.SVN Installation

Ubuntu system Installation: sudo apt-get install subversion

SOURCE installation: 1. Download:archive.apache.org/dist/subversion

2. Unzip: Tar xvf subversion-0.19.1.tar.gz

3. Move: sudo mv subversion-0.19.1/usr/svn

4. Enter:/USR/SVN, configuration:./configure--prefix=/usr/svn

5. Compiling: Make

6. Install: Make install

7. Set environment variables: Vi/etc/profile join: Export path=/usr/svn/bin: $PATH

8. Test: Svn-h

Installation packages that may be dependent on:

GCC (gcc/c++.x86_64)

Apr (apr-devel.x86_64)

Apr-util (apr-util-devel.x86_64)

SQLite (sqlite-devel.x86_64)

Zlib (zlib-devel.x86_64)

Compile, error occurred

MAKE[2]: Entering directory '/usr/svn/apr/network_io/unix '
MAKE[3]: Entering directory '/usr/svn/apr/network_io/unix '
/bin/bash/usr/svn/apr/libtool--silent--mode=compile gcc-g-o2-pthread-dhave_config_h-d_reentrant-d_gnu_source-i. ./.. /include-i. /.. /include/arch/unix-i. /.. /include/arch/unix-c sockopt.c && Touch Sockopt.lo
sockopt.c:in function ' Apr_socket_opt_set ':
Sockopt.c:242:27:error: ' Sctp_nodelay ' undeclared (first use of this function)
Optname = Sctp_nodelay;
^
Sockopt.c:242:27:note:each undeclared identifier is reported only once for each function it appears in
MAKE[3]: * * * [Sockopt.lo] Error 1
MAKE[3]: Leaving directory '/usr/svn/apr/network_io/unix '
MAKE[2]: * * * [all-recursive] Error 1
MAKE[2]: Leaving directory '/usr/svn/apr/network_io/unix '
MAKE[1]: * * * [all-recursive] Error 1
MAKE[1]: Leaving directory '/USR/SVN/APR '
Make: * * * [External-all] Error 1

2.SVN Warehouse creation and configuration

1. Build Repository directory: Mkdir-p/usr/svn/svndata

2. Build repository: Svnadmin CREATE/USR/SVNDATA/REPO1

Automatically add the required configuration file under the Repos directory after executing this command

Conf db format Hooks Locks README.txt

Four configuration files in conf: Authz Hooks-env.tmpl passwd svnserve.conf

        

3. Multi-project multi-warehouse management

Install SVN under Linux, Warehouse creation, user Rights Management

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.