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/