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.
本文档详细介绍了如何在Fedora14操作系统上安装并配置SVN服务器。步骤包括安装必要的rpm包,创建仓库,设置权限文件,编辑Apache配置文件,并启动及设置开机启动HTTPD服务。
634

被折叠的 条评论
为什么被折叠?



