1/install svn, Create Repository
Yum Install Sunversion
Mkdir/data/svn-p
2. Download and install Submin
Mkdir/usr/local/submin-p
wget http://supermind.nl/submin/current/submin-1.2.10.tar.gz
Tar zxf submin-1.2.10.tar.gz
CD Submin-1.2.10/bin
python./install.py/usr/local/submin/
Submin-admin Create Default
Yum Install Apr apr-util
Yum Install MOD_DAV_SVN
Here will automatically generate some files, here Authz is the administrative User's permission; htpasswd is the password of the administrative user;
UserProperties is the other information that manages users (mailboxes, etc.); default.conf is the master profile,
The final file is integrated with Apache and needs to be added to the Apache master configuration File.
3. Installing Apache
Yum Install Httpd-y
#添加以下行
Vim/etc/httpd/conf/httpd.conf
Include/etc/submin/default-apache-cgi.conf
4, the configuration Submin related documents
Ln-s/etc/submin/default-apache-cgi.conf/etc/httpd/conf.d/submin.conf
This file will need to be manually modified to facilitate the management of the LINK.
Cp/var/lib/submin/authz/data
Cp/var/lib/submin/htpasswd/data
Cp/var/lib/submin/userproperties.conf/data
Copy the Submin user information file into the root directory of the SVN repository we created earlier
rm-rf/var/lib/submin/svn/
Ln-s/data/svn/var/lib/submin/svn
Chown-r Apache:apache/data
Because you want to log in with apache, this is where users of the SVN Coogan directory are modified
Vim/etc/submin/default.conf
[svn]
Authz_file =/data/authz
Userprop_file =/data/userproperties.conf
Access_file =/data/htpasswd
Repositories =/data
[www]
Base_url =/submin
Svn_base_url =/SVN
Trac_base_url =/trac
[backend]
Bindir =/usr/local/submin/share/submin/bin
[generated]
Session_salt = CNZ.DDWKWUD5HXXI
Modify Submin.conf
Vim/etc/httpd/conf.d/submin.conf
Alias/submin/usr/local/submin/share/submin/www
<Directory/usr/local/submin/share/submin/www>
Order Allow,deny
Allow from all
Options execcgi FollowSymLinks
AddHandler cgi-script py CGI Pl
SETENV submin_conf/etc/submin/default.conf
Rewriteengine on
Rewritebase/submin
Rewritecond%{request_filename}!-f
Rewriterule ^ (. +) $ submin.cgi/$1
Rewriterule ^/?$ submin.cgi/
</Directory>
<Location/svn>
DAV SVN
Svnparentpath/data
AuthType Basic
AuthName "Subversion repository"
authuserfile/data/htpasswd
Authzsvnaccessfile/data/authz
Satisfy any
Require Valid-user
</Location>
/ETC/INIT.D/HTTPD restart
Http://192.168.121.128/submin Default User Password Admin admin
Login and then change the password on the Web page;
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8A/2A/wKioL1gpv_ezOUZZAAGye3_4kaM888.png-wh_500x0-wm_3 -wmp_4-s_2441104563.png "title=" sss.png "alt=" wkiol1gpv_ezouzzaagye3_4kam888.png-wh_50 "/>
This article is from the "LINUX Super dream" blog, Make sure to keep this source http://215687833.blog.51cto.com/6724358/1872800
web-based Management for Subversion repositories