Install and configure Svn in Linux

Source: Internet
Author: User

1. Install SVN

To install subversion, you must first install other packages. (Apr, APR-util, neon)

[Root @ Linux9 install] # rpm-IVH subversion-1.4.4-1.i386.rpm

Error: Failed dependencies:

APR> = 0.9.7 is needed by subversion-1.4.4-1

Apr-util> = 0.9.7 is needed by subversion-1.4.4-1

Libapr-0.so.0 is needed by subversion-1.4.4-1

Libaprutil-0.so.0 is needed by subversion-1.4.4-1

Libneon. so.24 is needed by subversion-1.4.4-1

Neon> = 0.24.7 is needed by subversion-1.4.4-1

[Root @ Linux9 install] # rpm-IVH apr-0.9.12-1.i386.rpm

Preparing... ######################################## ### [100%]

1: APR ####################################### #### [100%]

[Root @ Linux9 install] # rpm-IVH apr-util-0.9.12-1.i386.rpm

Preparing... ######################################## ### [100%]

1: apr-util ##################################### ###### [100%]

[Root @ Linux9 install] # rpm-IVH neon-0.24.7-1.i386.rpm

Preparing... ######################################## ### [100%]

1: neon ####################################### #### [100%]

[Root @ Linux9 install] # rpm-IVH subversion-1.4.4-1.i386.rpm

Preparing... ######################################## ### [100%]

1: subversion ####################################### #### [100%]

2. Create a database

Svnadmin create/root/SVN/repos/

3. Start the database

Svnserve-d-r/root/SVN/repos/-- listen-port 9999

If you do not add "-- listen-port 9999", the default port is 3690.

4. Configure svnserve. conf

[Root @ Linux9 repos1] # vi svnserve. conf

 

[General]

Anon-access = none

Auth-access = write

Password-DB = passwd

Authz-DB = authz

5 configure passwd

Snoopy = Password

6 configure authz

[Root @ Linux9 conf] # vi authz

[Groups]

Admin = Snoopy

 

[/]

@ Admin = RW

* = R

 

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.