Entos6.5 install if. svnadmin

Source: Internet
Author: User
System: cat/etc/redhat-releaseCentOSrelease6.5 (Final) I. install the required tool yuminstallhttpdsubversionmod_dav

System: cat/etc/redhat-release

CentOS release 6.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

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so

DAV svn

SVNParentPath/opt/svn

 

AuthType Basic

AuthName "Authorization Realm"

AuthUserFile/opt/svn/authz. conf

Require valid-user

SVNListParentPath on

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

Wget http://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-R 777/var/www/html/svnadmin/data/

 

Change svnadmin directory permissions

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

Chmod 777/opt/svn/authz. conf

Chmod 777/opt/svn/passwd. conf

 

6. start the httpd service

Service httpd start

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/

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.