System:cat/etc/redhat-release
CentOS Release 6.5 (Final)
First, the installation of the necessary tools
Yum Install httpd subversion mod_dav_svn php-y
Second, modify the HTTP configuration file 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
<Location/svn>
DAV SVN
Svnparentpath/opt/svn
<limitexcept GET PROPFIND OPTIONS report>
AuthType Basic
AuthName "Authorization Realm"
Authuserfile/opt/svn/authz.conf
Require Valid-user
Svnlistparentpath on
</LimitExcept>
</Location>
Third, create the SVN directory
mkdir/opt/svn/
mkdir /var/www/html/svnadmin/
Iv. Creating an SVN permission file and a password file
Touch /opt/svn/authz.conf
touch/opt/svn/ passwd.conf
V. Installation of If.svnadadmin
wget http://sourceforge.net/projects/ifsvnadmin/files/svnadmin-1.6.2.zip/download
Decompression: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
Six, start httpd service
Service httpd Start
Browser input/HTTP/server ip/admin after startup
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
after logging in as follows, enter the path of each profile and click Test for Success, after all, save the configuration saved Configration:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
Create a new test group
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
Create a new test user and set the password.
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
Add a new test project
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
Set the appropriate access rights
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang /zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
Test Project
http://192.168.3.220/svn/test/
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
This article from the "On the Road" blog, reproduced please contact the author!
centos6.5 Installing the SVN visual management tool If.svnadmin