Install the svn server in centOs5.10 and centos5.10svn

Source: Internet
Author: User

Install the svn server in centOs5.10 and centos5.10svn

/// // ============ = Install the svn server in CentOs5.10 ======================== ///////////////// //////////////////

// 1. Install SVN

# Yum list sub *

# Yum install subversion

// 2. Check whether the installation is successful.

# Svnserve -- version

// 3. Create an svn Repository

# Mkdir-p/opt/svn/

# Mkdir-p/opt/svn/svntest/

// 4. Create an svn version Library

# Mkdir-p/opt/svn/svntest

// 5. Set permissions

Note:
(1) svnserve. conf: svn service configuration file.
(2) passwd: user name and password file.
(3) authz: Permission configuration file.

1. Modify the passwd file

  1. [Users]
  2. Hu = 123456.
  3. Yao = 123456.

Note: hu is the user name and 123456 is the password.

2. Set the plaintext password.

[Plain]View plaincopy
  1. Vi/$ HOME/. subversion/servers
  2. # Find the following content, comment out and change it to yes.
  3. Store-plaintext-passwords = yes

3. Modify the authz File

[Plain]View plaincopy
  1. [Groups]
  2. Team = hu, yao
  3. [Svntest:/]
  4. @ Team = rw
Note: svntest is the name of the svn version library created earlier.

4. Modify svnserve. conf

[Plain]View plaincopy
  1. [General]
  2. Anon-access = none
  3. Auth-access = write
  4. Password-db = passwd
  5. Authz-db = authz

5. Start svn

Svnserve-d -- listen-port 9090-r/opt/svn


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.