Entos6.5 install if. svnadmin

Source: Internet
Author: User

Entos6.5 install if. svnadmin

System: cat/etc/redhat-release

CentOSrelease6.5 (Final)

1. install required tools

Yum install httpd subversion mod_dav_svn php-y

Ii. Modify the http configuration file to support svn

Vim/etc/httpd/conf. d/subversion. conf

LoadModuledav_svn_modulemodules/mod_dav_svn.so

LoadModuleauthz_svn_modulemodules/mod_authz_svn.so

<Location/svn>

DAVsvn

SVNParentPath/opt/svn

<Limiteffectgetpropfindoptionsreport>

AuthTypeBasic

AuthName "AuthorizationRealm"

AuthUserFile/opt/svn/authz. conf

Requirevalid-user

SVNListParentPathon

</Limit10000t>

</Location>

Iii. Create svn directory

Mkdir/opt/svn/

Mkdir/var/www/html/svnadmin/

4. Create svn permission files and password files

Touch/opt/svn/authz. conf

Touch/opt/svn/passwd. conf

5. Install iF. SVNAdadmin

Wgethttp: // sourceforge.net/projects/ifsvnadmin/files/svnadmin-1.6.2.zip/download

Unzip: unzip svnadmin-1.6.2.zip

Cp-r iF. SVNAdmin-stable-1.6.2 // var/www/html/svnadmin

Change data Directory Permissions

Chmod-R777/var/www/html/svnadmin/data/

Change svnadmin Directory Permissions

Chown-R apache: apache/var/www/html/svnadmin/

Chmod777/opt/svn/authz. conf

Chmod777/opt/svn/passwd. conf

6. Start the httpd service

Servicehttpdstart

Enter http: // server ip/admin in the browser after startup

After logging on, enter the path of each configuration file and click Test to Test whether the configuration is successful. Save configration:

Create a test group

Create a test user and set the password.

Add a test project

Set Access Permissions

Test Item

Http: // 192.168.3.220/svn/test/

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.