Install SVN on centos

Source: Internet
Author: User
Tags password protection ssl connection

# Su
# Yum install httpd (if Apache is installed, it will not be used)
# Yum install subversion mod_dav_svn
# Vi/etc/httpd/CONF. d/subversion. conf
Add to module Loading
Loadmodule dav_svn_module modules/mod_dav_svn.so
Loadmodule authz_svn_module modules/mod_authz_svn.so
# Mkdir/var/www/Repos
# Vi/etc/httpd/CONF. d/subversion. conf
<Location/repos>
Dav SVN
Svnparentpath/var/www/Repos

# Limit write permission to list of valid users.
# <Limitaskt get PROPFIND Options Report>
# Require SSL connection for password protection.
# Sslrequiressl

Authtype basic
Authname "Authorization realm"
Authuserfile/var/www/repos/passwd
Require valid-user
# </Limit10000t>
</Location>
# Cd/var/www/Repos

# Htpasswd-C passwd Test
VI passwd

Test: ID/c3q6mz

[Groups]
Admin = test, test1
Develop = Test2
[/]
Test = RW
Test1 = RW
@ Develop = r

# Chown-r Apache. Apache/var/www/Repos
# Service httpd restart
# Cd/var/www/Repos
# Svnadmin create myrepos
Access: http: // localhost/repos/myrepos

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.