1. rpm -i mod_dav_svn-1.6.12-3.fc14.i686.rpm
2. cd /home
mkdir repos
cd repos
mkdir test
svnadmin create test
3. htpasswd -c /home/repos/test/conf/svnpasswd water_qiu
4. svnaccess (file), vim /home/repos/test/conf/svnaccess
[groups]
CC = water_qiu
PM =
DV =
TE =
[/]
@CC = rw
@PM = rw
@DV = rw
@TE = r
5. vim /etc/httpd/conf.d/subversion.conf
#water add start for the test svn server
<Location /test>
DAV svn
SVNPath /home/repos/test
AuthType Basic
AuthName "test SVN"
AuthzSVNAccessFile /home/repos/test/conf/svnaccess
AuthUserFile /home/repos/test/conf/svnpasswd
Require valid-user
</Location>
#water add end
6. 修改/etc/httpd/conf/httpd.conf
去掉 ServerName www.example.com:80哪一行的#
把listenport改成 8080
7. cd /home
chown -R apache.apache repos
chmod 0777 /home/repos/test/conf/*
8. apachectl restart
9. Enable httpd service to be started with the system bootup.