[email protected]

learn – code – share

How to install config SVN in centos


Using Subversion

yum install -y subversion

yum install -y mod_dav_svn

mkdir /data/svn

svnadmin create /data/svn/repo1

chown -R apache:apache /data/svn/repo1

cd /data/svn/repo1/conf/

vi svnserve.conf

htpasswd -c /data/svn/repo1/conf/passwd jay

vi authz

farid = r
fikri = rw
* = #not access


vi /etc/httpd/conf/httpd.conf


Include conf.d/*.conf

cd /etc/httpd/conf.d/

vi subversion.conf

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

<Location /repo1>
DAV svn
SVNPath /data/svn/repo1
Authtype Basic
AuthName "My Repository"
AuthzSVNAccessFile /data/svn/repo1/conf/authz
AuthUserFile /data/svn/repo1/conf/passwd
Require valid-user
service httpd restart


One Response to How to install config SVN in centos

  1. Good stuff man, carry on the good work.

Leave a Reply

Your email address will not be published. Required fields are marked *